I'm trying to add a custom icon using the KMLStyler. The icon is saved on google drive. I used Attribute Manager to add a new attrubute called "Symbol_Icon" thats value is the google drive url link, then I used the KMLStyler to set the icon name to the newly created attribute. I'm getting the "red x" once I open the kml in google earth. Screenshots below, any suggestions?
Hi @mikeymess,
It could be a limitation of the KMLStyler that URL's of a internet drive are not yet supported.
If you download one icon and reference it from a local drive, does that work?
Hi @mikeymess,
It could be a limitation of the KMLStyler that URL's of a internet drive are not yet supported.
If you download one icon and reference it from a local drive, does that work?
I had a similar issue with a customer recently. I don't think we found a resolution at that time.
Thinking out loud, you can write to a KMZ and include the icon files, then refer to them with a local path. I used that technique for images referred to in infowindows, but perhaps it'd work with icon files too. I;ll have to dig up a workspace that does that.
https://www.gearthblog.com/blog/archives/2016/03/custom-icons-google-earth.html
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.