I use custom images in google maps markers. I have included google earth control through google earth browser plugin. But they don't show custom images in google earth control? Any way I can solve this problem?
Thanks, Jayesh
I use custom images in google maps markers. I have included google earth control through google earth browser plugin. But they don't show custom images in google earth control? Any way I can solve this problem?
Thanks, Jayesh
In general, you define your own symbols via Style/Iconstyle/Icon structure first, then you reference them in placemarks using the styleUrl element.
If you have a KML/KMZ that works well with the standalone GE application showing your custom icons, you can load it into the API using some JavaScript like
var networkLink = ge.createNetworkLink('My cool KML/KMZ file');
var link = ge.createLink('Link to My cool ...');
link.setHref('http://www.here.on.the.net/MyCool.kmz');
networkLink.setLink(link);
ge.getFeatures().appendChild(networkLink);
If not you may get the stylemaps into the "internal KML" via some code. For example see here
Hope this helps. Good luck MikeD
Try absolute paths for the marker icon's images. Must be a bug of some sort. Cheers, Dan