A helper object for creating and manipulating the NYC basemap
- Source:
Members
-
<static> LabelType :string
-
Enumerator for label types
Type:
- string
- Source:
Properties:
Name Type Default Description BASEstring base Label type for base layer
PHOTOstring photo Label type for photo layer
Methods
-
<static> hookupEvents(node)
-
Hook up events
Parameters:
Name Type Description nodeElement The DOM node for the map
- Source:
-
<static> loadLayer(event)
-
Loads a layer from a file
Parameters:
Name Type Description eventjQuery.Event Event object
- Source:
-
<static> sortedPhotos()
-
Returns the photo layers ordered by year
- Source:
Returns:
Array of photo layers
- Type
- Array.<(ol.layer.Base|L.Layer)>
Type Definitions
-
BaseLayers
-
Object type to hold base layers
Type:
- Object
- Source:
Properties:
Name Type Description baseObject The base layer
labelsObject.<string, (ol.layer.Base|L.Layer)> The label layers
photosObject.<string, (ol.layer.Base|L.Layer)> The photo layers