Merge pull request #29 from muan/hex
Dont change the color of the most recently added spot's marker
This commit is contained in:
commit
c8446e3fb4
@ -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