cyberhobo / wordpress-geo-mashup

Official repository for Geo Mashup, the plugin that makes WordPress into a GeoCMS. Documentation:
https://github.com/cyberhobo/wordpress-geo-mashup/wiki/Getting-Started
63 stars 15 forks source link

Google Earth Plugin Support #234

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Feature Request:

Would like to have the option to use the Google Earth Browser Plugin.

Original issue reported on code.google.com by epo...@gmail.com on 23 Jun 2009 at 4:57

GoogleCodeExporter commented 9 years ago
I jumped the gun and now see that it is included in the 1.3A1.  Thanks!

Original comment by epo...@gmail.com on 23 Jun 2009 at 5:16

GoogleCodeExporter commented 9 years ago
Right - but it's good to have an issue for, so thanks! In the stable version it 
can
be accomplished with some custom.js code (see UpgradeConsiderations) in 
combination
with the Add Map Type Control option:

function customizeGeoMashupMap ( properties, map ) {
  map.addMapType(G_SATELLITE_3D_MAP);
}

Original comment by dylankk...@gmail.com on 23 Jun 2009 at 5:17

GoogleCodeExporter commented 9 years ago
It might be clearer to change the title of this issue to "Google Maps 3d Mode 
request" as it's misleading. I would 
love to see real support for Google Earth plugin in GeoMashup as the API if 
slightly different as well than normal 
Google Maps.

Original comment by ouddin on 22 Sep 2009 at 3:08

GoogleCodeExporter commented 9 years ago
What would real support entail? Can't you use the plugin API as follows, even 
in 1.2.x?

function customizeGeoMashupMap ( properties, map ) {
  map.getEarthInstance( function( ge_plugin ) {
    // use the plugin API via the ge_plugin object
  } );
}

Original comment by dylankk...@gmail.com on 23 Sep 2009 at 1:21

GoogleCodeExporter commented 9 years ago
Hmm, I didn't think about it that way.

So you're saying that it is possible to expose the Google earth plugin instance 
from the main map object and it 
inherently reveals the GE api for me to do what I need to do with GE  ?

Original comment by ouddin on 23 Sep 2009 at 6:27

GoogleCodeExporter commented 9 years ago
That's how I understand the documentation
(http://code.google.com/apis/maps/documentation/reference.html#GMap2.getEarthIns
tance). 

You might want to create a Geo Mashup map with only the G_SATELLITE_3D_MAP type 
for
this - in which case you'd probably hit issue 248 - there's not a way to 
specify a
map type in a parameter yet. You can do it in the admin settings, though.

Original comment by dylankk...@gmail.com on 23 Sep 2009 at 11:40

GoogleCodeExporter commented 9 years ago
Is there a specific GE plugin version the stable version of the plugin that I 
need to show it? I have the plugin but 
it won't show using the plugin I have.. says I need a newer version.

Original comment by ouddin on 26 Sep 2009 at 10:54

GoogleCodeExporter commented 9 years ago
Sorry I missed that last comment, but I don't think I would have been much help 
since
I haven't done much development with the GE plugin API, and haven't seen that
message. If you found a solution it might be helpful for others.

Original comment by dylankk...@gmail.com on 27 Oct 2009 at 8:11

GoogleCodeExporter commented 9 years ago
No problem. I'll bring up this topic with you again next month once my current 
project is out of the way.

Original comment by ouddin on 27 Oct 2009 at 8:15

GoogleCodeExporter commented 9 years ago

Original comment by dylankk...@gmail.com on 6 Mar 2010 at 2:23

GoogleCodeExporter commented 9 years ago
The current status of this issue is that Google Earth support has been entirely 
removed from the v3 maps API into its own API. This makes integration with maps 
harder, but it can be done independently as pointed in this thread and example:

http://wordpress.org/support/topic/google-earth-v3?replies=1
http://jsfiddle.net/fraser/mqZx7/

Original comment by dylankk...@gmail.com on 15 May 2014 at 2:20