Custom map controls and GE plugin
Hello.
We have created the map http://vinmap.net/vinnitsa.html, using API v2.
The map is 2D/
3D with switching between the modes. I have created custom controls in
order to organize map type changing. It works fine in Mozzila Firefox.
In other browsers my custom maptype controls disapear when 3D mode
turns on and GE plugin loads.
My code is based on these examples:
Map/Google earth plugin integration http://code.google.com/apis/ajax/playground/#maps/earth_integration
Adding custom controls to the map http://code.google.com/apis/ajax/playground/#map_control_custom
What is wrong? Standard maptype controls do not disapear when GE
plugin is initializing.
The second issue is that twice switching to 3D removes LAYER_ROADS in
GE plugin. Why it can happen?
Please, look at my source code at http://vinmap.net/vinnitsa.html. I
am a full beginner in JavaScript, so forgive me my lack of knowledge.
--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home