back | source
Show places/locations by using tag
  1. You can add tag by using this function
    map.Tags.add('temple', {
      visibleRange: { min: 12, max: 20 },
      icon: { url: 'http://mmmap15.longdo.com/mmmap/images/icons_big/temple.png' }});

    How to use tag function
    map.Tags.add(TAGS, OPTIONS);
    • TAGS: Tags eg. hotel, school
    • OPTIONS: (optional)
      • visibleRange: Visible range
      • icon: Icon or 'big' keyword for big default icons
  2. Remove tag
    map.Tags.remove('hotel');
  3. Clear all tags in collection
    map.Tags.clear();
  4. Allow to click the icon on the map
    map.Tags.add('%',
    {
      visibleRange:{min:19, max:20}
    });
    * visisible range is 19-20 only