Releases: bozdoz/wp-plugin-leaflet-map
Releases · bozdoz/wp-plugin-leaflet-map
v3.1.0
- Bumps leaflet default version to 1.9.3
- Checks for
lat
andlon
in osm_geocode withisset
- Adds min, max, step to inputs for zoom, minZoom, and maxZoom
- Obfuscates base tileurl with base64_encode in map-shortcode to deter crawlers
- Adds
tooltipAnchor
to geojson and marker shortcodes - Default maxZoom is 19, down from 20
- Allows for comma-separated tile server subdomains, as opposed to 'abc' turning into 'a','b','c' automatically (i.e. you can now use something like "cache-1,cache2" as default subdomains)
- Adds new shortcodes: [leaflet-image-overlay] and [leaflet-video-overlay] (examples in the shortcode-helper page, or README.md)
Now to hibernate again...
v3.0.2
Security Updates
Fixes many potential security issues by sanitizing admin settings and shortcode attributes.
Adds Leaflet Polygon
- allow author roles to see shortcodes
- adds [leaflet-polygon] shortcode
- makes map ids unique; removes auto-incremented map counts
Negation and nested properties
- 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)
fitbounds in map shortcode
fitbounds now fits all shapes in map to map view
v2.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)
v2.11.2
GPX shortcode
v2.9 update to 2.9; added gpx shortcode