Map

Adds an interactive map powered by Google Maps. Make sure to replace the default Google Maps API key in src/partials/script.html with your custom one to enable maps on your local server or custom domain.
Plugin documentation

  • data-map - initializes the map plugin.
  • data-zoom - initial map zooming level. Ignore if you want to allow the map scale automatically to show all markers specified in the data-marker attribute.
  • data-markers - an array of objects with markers info. E.g. data-markers='[{"position": [53.5508748,9.9985808], "info": "Popup content."}]'.