# WP OpenFreeMap - OpenFreeMap WordPress Plugin A [WordPress plugin](https://wordpress.org/plugins) that renders [OpenFreeMap](https://openfreemap.org) using [MapLibre GL](https://maplibre.org). ## Installation 1. Upload the plugin to your `/wp-plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress ## Basic Usage Once activated you can render [OpenFreeMap](https://openfreemap.org) 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 of `bright`, `dark`, `fiord`, `liberty`, `positron` (default: `bright`) ## Links - https://openfreemap.org - https://maplibre.org