Example of undefined in Javascript Maps Control

/
/
OSM with Marker Clustering

This sample showcases popular attractions from multiple countries, displayed as markers and marker clusters on an OpenStreetMap. The marker clusters are enabled for each country, with distinct settings representing each country on the map.

More Details...

Description

In this example, markers represent popular attractions from around the world, with each set as a separate data source for each country. The marker cluster feature is enabled for these markers to provide a clearer and more organized view. To do so, enable the allowClustering property within clusterSettings, which groups nearby markers together. Each cluster displays a tooltip with details such as the name, state, and country of the attraction. The clusterSettings can be further customized with options like shape, width, height, and labelStyle to adjust the appearance of the cluster. Additionally, the allowClusterExpand property is enabled, allowing users to expand a cluster by clicking on it, revealing the individual markers in an equidistant layout.