How to add same-page highlight links

Posted on 03 September, 2020

Category:

User guides

Topic:

Working with maps

Since v4.14 it is possible to add links outside the map which highlight a specific marker.

Example link: <a href="#" class="mmp-highlight" data-marker="1">Link</a>

Available options:

  • data-marker="id" The marker to be highlighted
  • data-map="id" Target a map with a specific ID only. Useful when multiple maps are on the same page
  • data-scroll="true|false" Whether to scroll the map into view. Defaults to true
  • data-open="true|false" Whether to open the popup. Defaults to true