Global

Members

(constant) map :ol.Map

Main map
Type:
  • ol.Map
Source:

(constant) pinLayer :ol.layer.VectorLayer

Vector layer for pin vector source
Type:
  • ol.layer.VectorLayer
Source:

(constant) pinSource :ol.source.VectorSource

Vector source for pins
Type:
  • ol.source.VectorSource
Source:
Overlay element for pin popups
Type:
  • ol.Overlay
Source:

Methods

disposePopover()

Removes store information popup from screen
Source:

map.oncick()

Handles user clicks. If user clicks on a pixel that contains a pin, display popup with store information
Source:

window.passLocation(lon, lat)

Centers location on user based on location information passed in from expo-location
Parameters:
Name Type Description
lon number User's longitude
lat number User's latitude
Source:

window.placePin()

Begins store creation process if user clicks on "New" button
Source: