46add3f00349f8340882c4491eccc04f4d57626f
WP OpenFreeMap - OpenFreeMap WordPress Plugin
A WordPress plugin that renders OpenFreeMap using MapLibre GL.
Installation
- Upload the plugin to your
/wp-plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
Basic Usage
Once activated you can render OpenFreeMap map widgets using the shortcode
[openfreemap [options...]]
The options are as follows
lat
Vertical center of the map (default:47.1092664)lon
Horizontal center of the map (default:12.3453356)zoom
Initial zoom of the map (default:16.5)color
Marker color in hex notation, e.g.#ff0000(default:#ff0000)height
Height of the map widget in CSS notation (default:450px)popup_text
HTML content shown in a popup attached to the marker (default: none)style
Map style, one ofbright,dark,fiord,liberty,positron(default:bright)
Links
Languages
PHP
74.5%
JavaScript
25.5%