wp-openfreemap/README.md

954 B

WP OpenFreeMap - OpenFreeMap WordPress Plugin

A WordPress plugin that renders OpenFreeMap using MapLibre GL.

Installation

  1. Upload the plugin to your /wp-plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Go to "Settings > OpenFreemap" to configure the plugin

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 CSS notation (default: #ff0000)
  • height
    Height of the map widget in CSS notation (default: 450px)