NewOSM v1.0.0 - Initial Release
π NewOSM v1.0.0 - Initial Production Release
OpenStreetMap Gutenberg Block for WordPress
β¨ Features
- Interactive Maps: Full-featured OpenStreetMap integration in Gutenberg editor
- Location Search: Search any location worldwide with Nominatim geocoding
- Marker Placement: Click anywhere on the map to place draggable markers
- Address Lookup: Automatic reverse geocoding to display addresses
- Customizable Display: Flexible map dimensions, zoom levels, and size presets
- Fullscreen Mode: View maps in fullscreen on both editor and frontend
- Default Settings: Save your preferred settings via REST API
- Local Assets: All Leaflet files served locally (no external CDN dependencies)
π οΈ Technical Details
- Modern WordPress REST API integration
- Native Fetch API using @wordpress/api-fetch
- React-based Gutenberg block
- Leaflet 1.9.4 mapping library
- No jQuery dependencies
- Instant marker placement (no loading delays)
- Responsive design
- Forward-compatible with WordPress 7.0+
π¦ Installation
- Download NewOSM.zip below
- Go to WordPress Admin β Plugins β Add New
- Click "Upload Plugin" and select the zip file
- Activate the plugin
π Usage
- Create or edit a post/page in WordPress
- Add the "OpenStreetMap" block
- Search for a location or click on the map to place a marker
- Customize size, zoom, and appearance in the sidebar
- Save default settings for future blocks
π Requirements
- WordPress 6.1+
- PHP 7.4+
- Modern browser with JavaScript enabled
π Links
- GitHub Repository: https://github.com/Latz/NewOSM
- OpenStreetMap: https://www.openstreetmap.org
Note: This plugin uses OpenStreetMap tiles and Nominatim geocoding service, which are free services with reasonable usage limits.