<abstract> new MapLocator()
An abstract class for managing map location
- Source:
Members
-
<static, constant> ZOOM_LEVEL :number
-
The default zoom level when zooming to locations
Type:
- number
- Source:
Methods
-
<abstract> setLocation(data)
-
Parameters:
Name Type Description datamodule:nyc/Locator~Locator.Result The location to which the map will be oriented
- Source:
-
<abstract> zoomLocation(data [, callback])
-
Parameters:
Name Type Argument Description datamodule:nyc/Locator~Locator.Result The location to which the map will be oriented
callbackmodule:nyc/MapLocator~MapLocator#zoomLocationCallback <optional>
The function to call after the locator has zoomed to the location
- Source:
Type Definitions
-
zoomLocationCallback()
-
Callback for module:nyc/MapLocator~MapLocator#zoomLocation
- Source: