marker - Proper way to load Google Earth plugin on top of existing V3 map? -


we have custom map using google maps v3 visualize information our social media site, i.e. blogs, wikis, forum geo spatial data.

before map shown markers dropped arrays , setmap() method called on each.

we have gui interface allows each set of markers individually turned on/off.

all worked next requirement integrate google earth api map.

i've seeen 2 methods this, revolve around these loading methods: 1) var earth = new googleearth(data.map); 2) google.earth.createinstance('map_canvas', initcallback, failurecallback);

method 1 works best, markers auto-loaded google earth, complete working info windows, etc. problem - when interface expands map not , when turning layers on/off google earth ignores it. have go map view , turn them off, earth view see change.

method 2 loads map up, expands fit map canvas nicely, no points, no buttons switch views, no navigation controls...no nothing.

i'm bit confused, should go here? there way google earth plugin interact current v3 maps without rewriting of existing code?

best way use google maps api utility library earth integration: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/googleearth/


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -