diff --git a/capture-map-area/demo.html b/capture-map-area/demo.html index a5dfda8..4d89007 100644 --- a/capture-map-area/demo.html +++ b/capture-map-area/demo.html @@ -9,7 +9,7 @@ - + @@ -24,9 +24,9 @@

Take a Snapshot of the Map

Code

-

Snapshot functionality belongs to the mapsjs-core module of the API. - The capture method of the H.Map class takes as an argument callback - function that is executed when snapshot is ready, instance of H.ui.UI class +

Snapshot functionality belongs to the mapsjs-core module of the API. + The capture method of the H.Map class takes as an argument callback + function that is executed when snapshot is ready, instance of H.ui.UI class to add the scale bar to the output, and top/left (50,50)-bottom/right (500,200) coordinates to specify the area of the map to capture.

diff --git a/change-harp-style-at-load/demo.html b/change-harp-style-at-load/demo.html index 1ca560f..a287687 100644 --- a/change-harp-style-at-load/demo.html +++ b/change-harp-style-at-load/demo.html @@ -8,7 +8,7 @@ - + diff --git a/circle-on-the-map/demo.html b/circle-on-the-map/demo.html index 68ed0d3..9b6d925 100644 --- a/circle-on-the-map/demo.html +++ b/circle-on-the-map/demo.html @@ -8,7 +8,7 @@ - + @@ -22,8 +22,8 @@

Circle on the Map

This example shows a circle with a radius of 1000 meters centered over a location in New Delhi (28.6071°N, 77.2127°E) and displayed on a moveable map.

Code

-

A circle is created using the H.map.Circle class, - passing in the center point and radius. The look-and-feel of the circle +

A circle is created using the H.map.Circle class, + passing in the center point and radius. The look-and-feel of the circle can be altered by adding the style parameter

diff --git a/context-menu/demo.html b/context-menu/demo.html index 85feae3..2ef16f6 100644 --- a/context-menu/demo.html +++ b/context-menu/demo.html @@ -9,7 +9,7 @@ - + diff --git a/custom-cluster-theme/demo.html b/custom-cluster-theme/demo.html index d8fd8e5..1c84413 100644 --- a/custom-cluster-theme/demo.html +++ b/custom-cluster-theme/demo.html @@ -8,7 +8,7 @@ - + @@ -47,7 +47,7 @@ .bubble a:hover { text-decoration: underline; } - + .bubble hr { margin: 5px 0px; } @@ -58,17 +58,17 @@

Marker Clustering with Custom Theme

Cluster multiple markers and customize the theme

-

This example displays a map showing geo-tagged clusters of photographs +

This example displays a map showing geo-tagged clusters of photographs taken from locations around the world. The Wikimedia Commons website was used to provide a source of data of geo-tagged images.

Code

-

Marker clustering requires the presence of the mapsjs-clustering module of the API. The +

Marker clustering requires the presence of the mapsjs-clustering module of the API. The H.clustering.Provider class is used to load in data points and prepare them for clustering.

-

Customizing the default look-and-feel of the clusters and noise points is - very easy. When instantiating the H.clustering.Provider, a theme object holding two methods - - getClusterPresentation() and getNoisePresentation() - is passed as an additional parameter - into the constructor. Both theme methods must return an H.map.Object such as a marker or polygon etc. +

Customizing the default look-and-feel of the clusters and noise points is + very easy. When instantiating the H.clustering.Provider, a theme object holding two methods - + getClusterPresentation() and getNoisePresentation() - is passed as an additional parameter + into the constructor. Both theme methods must return an H.map.Object such as a marker or polygon etc. More information can be found in the API Reference.

diff --git a/custom-tile-overlay/demo.html b/custom-tile-overlay/demo.html index 2759b22..57113e2 100644 --- a/custom-tile-overlay/demo.html +++ b/custom-tile-overlay/demo.html @@ -12,7 +12,7 @@ - + -

This example displays circles on the map, which denote cities' population. By clicking on each circle you can zoom into it, +

This example displays circles on the map, which denote cities' population. By clicking on each circle you can zoom into it, but with different maximum zoom levels, depending on the circle size.

Code

diff --git a/display-geojson-on-map/demo.html b/display-geojson-on-map/demo.html index 588c291..b26e014 100644 --- a/display-geojson-on-map/demo.html +++ b/display-geojson-on-map/demo.html @@ -13,7 +13,7 @@ - +

Display GeoJSON Data

diff --git a/display-kml-on-map/demo.html b/display-kml-on-map/demo.html index 9d5c24d..3d2ea96 100644 --- a/display-kml-on-map/demo.html +++ b/display-kml-on-map/demo.html @@ -13,7 +13,7 @@ - +