javascript - Google Earth API fails to load placemark with custom icon -
at 1 point able load custom placemark icons google earth javascript api; however, sometime in last few months, has changed.
if add marker in google domain seems work... if use icon internet fails.
i followed instructions documentation , still nothing.
// define custom icon. var icon = earth.createicon(''); icon.sethref('http://www.jcsda.noaa.gov/images/arrowdown.jpg'); var style = earth.createstyle(''); //create new style style.geticonstyle().seticon(icon); //apply icon style placemark.setstyleselector(style); //apply style placemark
for sake of clarity have made a fiddle illustrating problem.
any thoughts on going wrong?
update
last night when made the fiddle icon failed load... morning when checked has spontaneously started working icons.
interestingly, it's still not working in application.
i using apache web server , have security in place (using .htaccess file) requiring username , password... has been active months, prevent google earth accessing icons though logged in?
is page https browser mixed content http/https issue
Comments
Post a Comment