- Source:
Methods
(inner) makePin(lon, lat, storeName, cheapest, flozPrice) → {ol.Feature}
Makes pin feature from arguments
Parameters:
| Name | Type | Description |
|---|---|---|
lon |
number | Longitude |
lat |
number | Latitude |
storeName |
string | Name of store |
cheapest |
string | Cheapest item in store |
flozPrice |
number | Price per fluid ounce of cheapest item in store |
- Source:
Returns:
- Created pin feature
- Type
- ol.Feature