- Improve performance of popups - only update DOM for active popups
- Add a 'zIndex' parameter to styles
- Accept JSON as feature.style parameter
- Text: handle parameter 'textCenter'
- If value
feature.exclude
evaluates to true, exclude item from the map (and from the list, iffeature.listExclude
is not set). - Improved README (thanks to @xeruf)
- Now depending on overpass-frontend 3.x
- Move code from Sublayer.js to SublayerFeature.js
- method SublayerFeature.recalc() initiates a re-calc
- Set custom bounds (as GeoJSON polygon / multipolygon) either with the option
bounds
or the functionsetBounds()
- Popup-Content and other layouts are now rendered via Twig
- New setLayout() function
- Markers are now always on the feature (not the centroid)
- License is now MIT
- Allow several patterns for polylines and polygons
- Add lineOffset for patterns
- More style parameters accept a length
- Add a title for each demo
- New demo, showing railway tracks (with the gauge in correct distance)
- Define
map.metersPerPixel
for TwigJS templates (size of a pixel at the map center) - Allow units for some style parameters (e.g. width, offset). You can now use 'px' (default) or 'm' (meters in world coordinate system).
- Add option 'filter'
- Support for wrapping at lon180
- Enable patterns
- When opening popup from List, try to be smart on the popup location