Dont change the color of the most recently added spot's marker

This commit is contained in:
Mu-An Chiou 2015-04-03 12:46:44 +08:00
parent 8c65460501
commit 44c23bf97f
1 changed files with 0 additions and 2 deletions

View File

@ -135,8 +135,6 @@
// useful bits from the original data
var optionsJSON = ["name", "address", "city", "rowNumber"]
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
var map = Sheetsee.loadMap("map")