Hi Fraser,
To be honest I'm not sure - I'm new to Maps myself.
Creating an icon in Maps using the sprite technique looks something
like:-
var iconImage = new google.maps.MarkerImage(
"mySpriteSheet.png", // icon sprite sheet
new google.maps.Size(32, 32), // Icon size
new google.maps.Point(32, 64), // Origin -
position in sprite sheet
new google.maps.Point(16, 16) // Anchor point
);
It seems very "maps" orientated. However I understand, I think, what
you mean - for example if a Marker was created in Maps and then the
view was changed to Earth would the Marker show in the Earth view or
would you have to recreate it with the Earth API? While I am coding
for both Earth and Maps in my app I'm doing them separately (you
either have Earth installed or it drops back to a Maps version) so I
don't switch to Earth from within Maps and therefore don't know what
carries over automatically between the views.
Thanks for the suggestion though - if anyone who may have done this
could comment I'm all ears.
Regards
Nymor