Zh GoogleMap FAQ: Difference between revisions

From Documentation
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:
You can not only change cluster icon, but also define different icons for group of placemarks.
You can not only change cluster icon, but also define different icons for group of placemarks.


It is demo [http://joomla.zhuk.cc/index.php/zhgooglemap-demo-cluster]
It is demo for [http://joomla.zhuk.cc/index.php/zhgooglemap-demo-cluster Map with Different Clusters]


* Create any number of your Placemarks
* Create any number of your Placemarks
Line 33: Line 33:


Marker manager is used to show/hide placemark depend on zoom level
Marker manager is used to show/hide placemark depend on zoom level
It is a demo for [http://joomla.zhuk.cc/index.php/zhgooglemap-demo-markermanager Map with MarkerManager]


* Create any number of your Placemarks
* Create any number of your Placemarks
Line 42: Line 44:
** 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 '''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
** Open '''Advanced options''' slider and set ''Marker Manager'' to '''Yes''' to enable Marker Manager




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


It is a demo for Find button [http://joomla.zhuk.cc/index.php/zhgooglemap-demo-findcontrol]
It is a demo for [http://joomla.zhuk.cc/index.php/zhgooglemap-demo-findcontrol Find button]


It is a demo for Autocomplete field [http://joomla.zhuk.cc/index.php/zhgooglemap-demo-feature-autocomplete]
It is a demo for [http://joomla.zhuk.cc/index.php/zhgooglemap-demo-feature-autocomplete Autocomplete field]


And this is a demo what we need [http://joomla.zhuk.cc/index.php/zhgooglemap-demo-feature-get2place]
And this is a demo what we need [http://joomla.zhuk.cc/index.php/zhgooglemap-demo-feature-get2place Find with Autocomplete]


* Open Map Details
* Open Map Details
Line 64: Line 67:
*** ''Show Autocomplete field''' to '''Yes''' to enable Autocomplete feature
*** ''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
*** set ''Radius'' to 0 if you don't want to see nearest places, which can be shown  by Places API





Revision as of 19:47, 12 March 2012

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 each 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



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