Google map some markers aren't showing
I have a problem where only some开发者_如何转开发 markers are showing and not others.
I have a bunch of "tree_markers" that aren't showing. Only the tree markers show which have the same name.
The live test page is here: http://www.comehike.com/outdoors/widget.php?height=500&width=500&hike_id=108&type=hike
Would anyone know why the only tree markers that show up are "Eucalyptus" trees and not "Madron" or "Cypress"
Thanks, Alex
Inspecting the tree_markers[]
object, it appears that many trees have the same exact coordinates, so they overlap and you see only the topmost. More specifically, all your madrones are under an eucalyptus.
Trying this in the console:
tree_markers[0].setPosition(new google.maps.LatLng(37.809398,-122.47945))
Moves one madrone in the water, to prove it's always been there, just not visible.
Works for me. Do you have firebug? It'll help you debugging your google maps applications.
精彩评论