Merge pull request #29 from muan/hex

Dont change the color of the most recently added spot's marker
This commit is contained in:
Jessica Lord 2015-04-03 10:43:16 -07:00
commit c8446e3fb4

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")