herearemypersonalprojects / google-maps-utility-library-v3

Automatically exported from code.google.com/p/google-maps-utility-library-v3
Apache License 2.0
0 stars 0 forks source link

Markers with MarkerImage does not translate to a placemark when using the GoogleEarth utility library #99

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enable GoogleEarth capability for the following sample: 
http://code.google.com/intl/sv-SE/apis/maps/documentation/javascript/examples/ic
on-complex.html
2. Activate GoogleEarth view
3. There are no placemarks in the GoogleEarth view.

It seems placemarks only gets an image if the image url is set in the marker 
options like so:
var marker = new google.maps.Marker({
        position: myLatLng,
        map: map,
        shadow: shadow,
        icon: "http://127.0.0.1:8888/images/beachflag.png"});

The url also has to be a absolute path which is troublesome since the absolute 
path might change on each deployment.

Expected result:
It would be very good if i could create a marker with a google.maps.MarkerImage 
and then change to GoogleEarth view and see a placemark at the location of the 
marker.

Actual result:
Placemarks does not get an image if the Marker has been given a image using 
google.maps.MarkerImage.

Version: All versions i have tried.

Browser / Operating System: FF4 / XP32

*********************************************************
Tip: Star this issue (next to title) to receive notifications of status changes 
against this issue, also used as a gauge for how many people are interested in 
seeing it resolved.
*********************************************************

Original issue reported on code.google.com by Hale...@gmail.com on 6 Jun 2011 at 7:02