Leaflet Map Plugin is the easiest way to create a map and display a leaflet map on any page using shortcodes. It allows you to easily add a Leaflet map to any WordPress post, page by simply adding the shortcode.

How to create a map

Step 1: First of all go to dashboard and click on WP Leaflet Map –> Add map.
Step 2: Select map provider according to your needs from ‘Mapdata provider’(bydefault openstreet is selected) then, Enter Map title, width, height, zoom level, and other general information. You’ll see lots of options here which you can configure according to your requirements.

  • Mapdata provider: Here you select your ‘Mapdata Provider’ which type of map provider’s map you want to display on your map.
  • Map Tile URL: This textbox display when you select OpenStreet mapdata provider, This is for display the map skin tile Enter here the various type of tile url for openstreet, Leave blank to use default tile.
  • Map Title: This will appear as the title of the map in your blog/ website.(Mandatory).
  • Map Width : This is the width of the map. (e.g 500).
  • Map Height : Sets the height of the map.(Mandatory)
  • Map Zoom Level : Sets the various levels at which map can be zoomed. The default zoom level is set to 0.

Assign locations in map

Now you have to add locations in your map. To do so Scroll down to Choose Locations section of the same window and select locations.

Click Save Map. All the maps you created will be display in Manage Map page.