Warning
This plugin is deprecated. Please consider switching to the new, more robust and reliable version of this plugin: https://github.com/flschr/mbplugin-osm-embeds
A privacy-friendly plugin for embedding OpenStreetMap views in Micro.blog posts. Shows an optional static preview image that turns into an interactive map when clicked.
Add this shortcode to your post:
{{< map loc="48.1351,11.5820" zoom="14" >}}That's it! The map will be embedded automatically.
loc– Coordinates inlatitude,longitudeformat (e.g.48.1351,11.5820)zoom– Zoom level from 0 (whole world) to 19 (building level), default: 14
Recommended zoom levels:
- 10–13 for city/region
- 14–16 for neighborhood/town center (default)
- 17–19 for individual buildings
Live example: fischr.org/2017/09/03/oben-links-am-lago-di
Use the OSM Embed Validator to try out your settings in the browser.
Configure these options in your Micro.blog plugin settings:
- Geoapify API Key – For static preview images (optional but recommended)
- Default Zoom – Used when no
zoomis specified in the shortcode - Preview Style – Map design for light/dark mode
- Privacy Notice – Text for optional privacy overlay
Without an API key, the map embeds directly. With Geoapify you get a clickable preview image:
- Create free account at Geoapify (3000 requests/day free)
- Generate API key in dashboard
- Enter key in plugin settings
- Optional: Choose map style (e.g.
osm-carto,dark-matter-yellow-roads)
- The plugin uses OpenStreetMap servers. High-traffic sites should consider running their own tile servers.
- RSS feeds will show maps automatically when coordinates are provided.
René Fischer – https://fischr.org
- 5.0.1 – CSS-only preview toggle without JavaScript
- 5.0.0 – Direct OpenStreetMap iframe, coordinates required
- 4.x – Migration from Google Maps to OpenStreetMap

