You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,10 +33,10 @@ The options object could have the following parameters:
33
33
Now we have a empty cluster, so we need to add the properties we want to manage with the cluster. The DataLayerClusterer is an extension of [Map.Data layer of Google Maps API v3](https://developers.google.com/maps/documentation/javascript/reference#Data), so we can add features in the usual way:
34
34
35
35
```javascript
36
-
newCluster.addGeoJson(featureColl, {
37
-
idPropertyName:'id'
38
-
});
39
-
newCluster.setMap(scope.map);
36
+
newCluster.addGeoJson(featureColl, {
37
+
idPropertyName:'id'
38
+
});
39
+
newCluster.setMap(scope.map);
40
40
```
41
41
42
42
## Methods
@@ -54,9 +54,9 @@ Now we have a empty cluster, so we need to add the properties we want to manage
54
54
The event management could be done out of the library:
55
55
56
56
```javascript
57
-
var eventHoverIn = scope['newCluster']._dataLayer.addListener('mouseover', function(event) {
58
-
// Anything
59
-
});
57
+
var eventHoverIn = scope['newCluster']._dataLayer.addListener('mouseover', function(event) {
0 commit comments