Jeff Storey
Jeff Storey

Reputation: 57212

custom kml icons

I'm trying to create a custom icon to display on google earth. It resides on my local filesystem, and I'm trying to reference it as "file:/C:/myfile.png" but it does not display. Is this possible to do?

Upvotes: 0

Views: 3260

Answers (2)

Jim Tough
Jim Tough

Reputation: 15239

You need to package the KML and the icons together into a KMZ archive (which is just a zip).

See my answer in your other question .

Upvotes: 3

Terra Kestrel
Terra Kestrel

Reputation: 20354

The KML documentation says that it works with any URI, local or web based. I suggest you don't use "file:/c:/myfile.png" but rather just the filepath "c:\myfile.png" or perhaps put the icon in the local directory and just use "myfile.png" as the example in the documentation suggests (also, you might need to make sure the backslashes are Windows based on a windows machine.)

Upvotes: 1

Related Questions