Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 299e7de

Browse files
committed
Docs
1 parent 416d5e1 commit 299e7de

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎README.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ The options object could have the following parameters:
3333
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:
3434

3535
```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);
4040
```
4141

4242
## Methods
@@ -54,9 +54,9 @@ Now we have a empty cluster, so we need to add the properties we want to manage
5454
The event management could be done out of the library:
5555

5656
```javascript
57-
var eventHoverIn = scope['newCluster']._dataLayer.addListener('mouseover', function(event) {
58-
// Anything
59-
});
57+
var eventHoverIn = scope['newCluster']._dataLayer.addListener('mouseover', function(event) {
58+
// Anything
59+
});
6060
```
6161

6262
## License

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /