Skip to content

Commit b4c31fd

Browse files
authored
Update README.md
1 parent 2ef00e0 commit b4c31fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ My current implementation now includes the following changes:
1818
- Added SVG versions of the marker images which will be used by default if supported by the browser and falls back to the PNG versions
1919
- LineStrings and Polygons are being clustered as well, using the center point of their bounding rectangles
2020
- new option 'setProperty': If set to true, instead of changing the StyleOption attribute 'visible' of the features directly, a boolean property 'in_cluster' (or a configurable property name defined in the constant DataLayerClusterer.CLUSTER_PROPERTY_NAME) is set on the features, which can then be used to toggle visibility (for example in order to take into account other properties for additonal filtering)
21+
- new option 'recolorSvg': (string) only takes action if SVG is supported and being used: a selector string for an SVG element in the set imagePath that can be used for re-coloring the cluster marker image. This saves requests and prevents the different marker images popping up after loading.
2122

2223
To read more and view a working example, see my blog post at www.constantinmedia.com/2016/09/google-maps-javascript-api-v3-handling-large-amounts-of-features-using-clustering-in-data-layers/
2324

0 commit comments

Comments
 (0)