Google Map Pins Missing -


i have site using google map having pins disappear. code create pins valid , have been tested. inspector, seem pointing a.xa.fa property in http://maps.gstatic.com/intl/en_us/mapfiles/api-3/13/9/main.js believe injected (as have included no such script).
i'm quite desperate , have no idea it. input appreciated.

you try add markers without supplying proper pin-argument add(), therefore creation of new google.maps.markerimage(pin) fail in add().

this happens first time @ 6th marker(that's why see 5 markers, error stop script-execution @ point).

solution: may either fix it(supply proper pin-argument), there latlng of 0,0 provided, guess went wrong data.

or add begin of add() have default-pin these situations:

pin=pin||'http://www.mychinaroots.com/wp-content/themes/mychinaroots/images/8-default.png'; 

Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -