Plugin / Leaflet Map

bozdoz

Changelog

Changelog

2.16.0

  • allow author roles to see shortcodes
  • adds [leaflet-polygon] shortcode
  • makes map ids unique; removes auto-incremented map counts

2.15.0

  • Updates rawgit URL’s to use jsdelivr, unpkg, and githubusercontent.com
  • Change logo to use FontAwesome SVG
  • Adds referer to file_get_contents, in case curl is disabled
  • Updates default Leaflet to 1.5.1
  • Fixes reset default values button in settings
  • Requires at least WordPress 4.6
  • ToGeoJSON library URL is customizable

2.14.0

  • Fix visible att in popups.
  • Adds nested property accessors to geojson popup text: {attributes.email}
  • Adds negation to shortcode attributes with an exclamation mark: e.g. Disable all interaction with [leaflet-map address="las vegas" !boxZoom !doubleClickZoom !dragging !keyboard !scrollwheel !attribution !touchZoom]
  • Fix case-sensitive boxZoom
  • Add touchZoom to map attributes
  • Fix icon-related anchor attributes (numbers instead of strings)

2.13.0

  • Updated LeafletJS to 1.4.0
  • Replaced fit_markers with fitbounds, which now fits all shapes in map view

2.12.0

  • Re-added Google Geocoder (optional), since they forced billing accounts
  • Fixed links in shortcode helper page
  • Fixed issue with marker popups that had single quotes
  • Loading leaflet scripts and styles only when a map shortcode is used
  • Added fitbounds to leaflet-map (to replace fit_markers someday)

2.11.5

  • Added assumed-boolean attributes to all shortcodes; ex: [leaflet-marker draggable svg] would be the same as [leaflet-marker draggable=1 svg=1]

2.11.4

  • Fix to a race condition issue with custom scripts changing leaflet rendering methods

2.11.3

  • Fix to an issue with rendering circles

2.11.2

  • Allow scripts to be deferred, and still render maps reliably
  • Add a circle to the map by adding [leaflet-circle]

2.11.1

  • Added Dockerfiles to github
  • Made OpenStreetMap default geocoder in light of new Google API payment plans

2.11.0

  • Added Popup Anchor for custom markers
  • Added SVG Markers
  • Added actions and filters

2.10.1

  • Fix for plugin settings not being included (somehow)

2.10.0

  • Added functions for translating text
  • Added string interpolation for GeoJSON popups to use feature properties (thanks to @geraldo)

2.9.1

  • Fixes for PHP 7.2: made all method arguments identical
  • Added minified JavaScript files for site speed

2.8.6

  • Added [leaflet-gpx] for GPX format

2.8.6

  • Fix image shortcode ratio

2.8.5

  • Added missing files from 2.8.4

2.8.4

  • Fixed issues with css and js CDN; removed version from querystring
  • Split admin into new class

2.8.3

  • Fix to [leaflet-kml]
  • Standardized src in leaflet-image and leaflet-geojson/kml

2.8.2

  • Fix to image maps
  • Fixes to geocoder
  • Added multi-line popups to markers and geojson/kml

2.8.1

  • Code cleanup
  • Added server-side and client-side methods to prevent WordPress from adding paragraph tags within shortcode tags

2.8.0

  • Added Fit Markers to settings and map shortcode: [leaflet-map fit_markers=1]
  • Moved geojson/kml popup text to the shortcode content instead of a property so that you can use links or other HTML

2.7.8

  • update default Leaflet version (1.1.0 from 1.0.3)

2.7.7

  • added default lat/lngs in the admin; and reordered admin fields to be more user friendly

2.7.6

  • added optional cURL to get geolocations if file_get_contents is not allowed on a server (note: cURL needs to be enabled, obviously)

2.7.5

  • fixed filter_var_array throwing errors in old PHP too

2.7.4

  • Added settings link to plugins page

2.7.3

  • Fix to array_filter on some PHP versions.

2.7.2

  • Fix to possible JavaScript error “Unexpected token <“; only happened when a plugin/theme used wpautop; fix was to remove spaces.

2.7.1

  • Removed unnecessary map counts;

2.7.0

  • Added basic marker icon support (with attributes “iconUrl”, “iconAnchor”, etc.);

2.6.0

  • Changes to map creation which may solve an occasional marker creation JavaScript error
  • Added more attributes to marker shortcode (draggable, title, alt, opacity)
  • Added doubleClickZoom global, database option to globally disable double click zooming (by default), because it’s more inline with disabling scroll zooming by default. Box zooming on the other hand is more intentional

2.5.0

  • Some improvements to the codebase;
  • added the same styling options for lines as there are for geojson;
  • added popups to lines, as there are for markers;
  • added an example to the shortcode admin page for the style attributes on lines;
  • added code and another example for disabling all map interactions (all zooms, keyboard, etc);

2.4.0

  • Added Leaflet 1.0.2 scripts by default (works!);

2.3.0

  • Added KML support [leaflet-kml];

2.2.0

  • Added popup_text and popup_property to leaflet-geojson to bind popups via a shortcode property or geojson properties

2.1.0

  • Added Leaflet and GeoJSON.io styles to geojson shortcode

2.0.2

  • OpenStreetMap.org has an SSL certificate (osm.org didn’t); not a significant upgrade.

2.0.1

  • Changed ajax request to be compatible with some versions of IE.

2.0

  • Needed to add support for a MapQuest app key, since they discontinued the direct access of their tiles on July 11, 2016; added an alternate OpenStreetMap tile URL as the new default. Remember to reset options to default values!

1.16

  • Added bare geojson support

1.15

  • Removed shortcode brackets from leaflet-marker shortcode

1.14

  • Fixed slashes in optional map attribution

1.13

1.12

  • Added htmlspecialchars in admin.php, and custom attributions. Bugfix : removed position in admin menu so it doesn’t overwrite or be overwritten (thanks to @ziodave)

1.11

  • Added HTTPS support.

1.10

  • Added lines to the map, thanks to @Remigr!

1.9

  • Added ability to use hyperlinks in marker messages.

1.8

  • Added ability to self-host leaflet files.

1.7

  • Uploaded 1.6 to subversion incorrectly!

1.6

  • Important fix to conflicts with other plugins!

1.5

  • Some helpful js fixes for multiple window onload functions, and added the leaflet-image shortcode!

1.4

  • Some fixes for Google geocoding, and switched cookies to db options.

1.3

  • Added cookies for Google geocoding to cut back on requests.

1.2

  • Added geocoding to map: [leaflet-map address="halifax, ns"].

1.1

  • Added messages to markers.

1.0

  • First Version. Basic map creation and marker creation.

Ratings

4.9
35 reviews

Rating breakdown

Details Information

Version

2.16.0

First Released

07 May, 2014

Total Downloads

76,065

Wordpress Version

4.6 or higher

Tested up to:

5.2.4

Require PHP Version:

-

Tags

Contributors

Languages

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.