How to add same-page highlight links

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
Rate this user guide

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

en English