Dont change the color of the most recently added spot's marker
This commit is contained in:
parent
8c65460501
commit
44c23bf97f
@ -135,8 +135,6 @@
|
|||||||
// useful bits from the original data
|
// useful bits from the original data
|
||||||
var optionsJSON = ["name", "address", "city", "rowNumber"]
|
var optionsJSON = ["name", "address", "city", "rowNumber"]
|
||||||
var geoJSON = Sheetsee.createGeoJSON(gData, optionsJSON)
|
var geoJSON = Sheetsee.createGeoJSON(gData, optionsJSON)
|
||||||
// change the color of the most recently added spot's marker
|
|
||||||
geoJSON[geoJSON.length - 1].properties["marker-color"] = "#FF4646"
|
|
||||||
|
|
||||||
// create map, tilelayer (map background), markers and popups
|
// create map, tilelayer (map background), markers and popups
|
||||||
var map = Sheetsee.loadMap("map")
|
var map = Sheetsee.loadMap("map")
|
||||||
|
Loading…
Reference in New Issue
Block a user