Releases: gsarig/ootb-openstreetmap
Releases · gsarig/ootb-openstreetmap
Release 2.1.0
Release notes
This release adds support for polygons and polylines. It also fixes a bug with dragging markers. More specifically:
- [New] Support for polygon shapes
- [New] Support for polyline shapes
- [Fix] Improves the drag and drop of markers
- [Update] Updates
react-leaflet
to v.4.2.0
Demos:
Adding a polygon:
Adding a polyline:
Release 2.0.2
This release improves backwards compatibility and fixes a couple of issues on sites using both a WordPress version older than 5.9 and PHP older than v.8.0.
Links:
Release 2.0.0
Version 2.0 is a major, almost complete, refactoring, both for the build scripts and the codebase. The changes should be backward compatible and your already existing blocks should keep working as expected.
- Refactors the build scripts to use the official @wordpress/create-block instead of create-gutenblock, which isn't supported anymore.
- Updates Leaflet and react-leaflet to their latest versions (Leaflet 1.9.2 and react-leaflet 4.1.0).
- Adds a new option to set the default coordinates when you add a new block. The plugin will try to guess the default location based on the site's time zone. Still, because there is no easy way to match against a specific and official database of coordinates, it isn't always reliable (hence the option to override).
Even though the end-user shouldn't see much difference, other than the option to set the map's default location, this is a big release, as it rewrites the plugin to a great extend.