Constructor
new GoogleMapsGeoJSON(…args)
Creates a new geojson parser using Google Map's API
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
args |
Array |
<repeatable> |
List of arguments to be passed to State |
Methods
(protected) _bindUI()
Adds listeners for the created map object.
It listens for click events and executes
GoogleMapsGeoJSON._handleFeatureClicked.
(protected) _getFeatureStyle(feature) → {Object}
Gets the internal style of the given feature. Both the feature and the
style are native Google Maps objects.
Parameters:
Name | Type | Description |
---|---|---|
feature |
Object | Google Maps native feature to be parsed. |
Returns:
Obtained style
- Type
- Object
_getNativeFeatures()
_wrapNativeFeature()
destructor()
Removes the listeners that have been added to the map object.