Zh GoogleMap FAQ

From Documentation
Jump to navigation Jump to search

How to create Custom Icon for each Placemark Group

You can not only change cluster icon, but also define different icons for group of placemarks.

It is demo for Map with Different Clusters

  • Create any number of your Placemarks
  • Create a few Placemark Group
  • For this placemark group set property Override Cluster Icon to Yes
  • Assign Placemark Group to each Placemark
  • Open Map Details, open Placemarks slider and set:
    • Show placemarks in cluster to Yes, it is to enable marker clustering
    • Group placemarks in cluster by placemark group property to Yes, in this case for each Placemark Group will be created personal clusterer with it's settings (placemark icon in this options too)



How to define the Same Icon for placemarks, belonging to same Placemark Group

You can overide Icon Type setting for placemark by define property for Placemark Group.

  • Create any number of your Placemarks
  • Create a few Placemark Group
  • Assign Placemark Group to each Placemark
  • For this placemark group set property Override Placemark Icon to Yes

In this case you could not think of correct setting for placemark icon. For each group of placemark the icon of placemark will be overriden by group property.

How to use Marker Manager

Marker manager is used to show/hide placemark depend on zoom level

It is a demo for Map with MarkerManager

  • Create any number of your Placemarks
  • Create a few Placemark Group
    • Define Min Zoom for Marker Manager and Max Zoom for Marker Manager for range of zooms to show this placemark group
  • Assign Placemark Group to each Placemark
  • Open Map Details
    • Open Placemarks slider and set Show placemarks in cluster to Yes to disable Marker Clusterer (because it show/hide placemarks)
    • Open Placemark Groups slider and set Placemark Group Control to No to disable Managing Placemarks by Placemark Group List (because it show/hide placemarks)
    • Open Advanced options slider and set Marker Manager to Yes to enable Marker Manager



How to create Find button with Autocomplete field

See a demo links, and context - it is a field on top of the map

It is a demo for Find button

It is a demo for Autocomplete field

And this is a demo what we need Find with Autocomplete

  • Open Map Details
    • Open slider Map Find Control (geocoding) and set:
      • Find Control (geocoding) to Yes to enable Find option
      • Draw route from search point to place if you want to draw route to map center
    • Open slider Control Positions and set position of control Find Control (geocoding)
    • Open slider Places Library and set:
      • Enable using Places to Yes to enable Places API
      • Show Autocomplete field' to Yes to enable Autocomplete feature
      • set Radius to 0 if you don't want to see nearest places, which can be shown by Places API
    • Open slider Route and set:
      • Draggable if you want to have draggable route to your place
      • Show Route Panel if you want to see route details



Language: [[::Zh GoogleMap FAQ|English]]  • [[::Zh GoogleMap FAQ/ru|русский]]