google-earth

Unable to load a local KMZ file into a browser with the google earth plugin using fetchkml function

梦想与她 提交于 2019-12-01 06:15:48
问题 We have a KMZ file that loads into the Google Earth Desktop application just fine. No errors. When we try to use the Google Earth Plugin to do the same thing, it does not even return from the fetchKml function. Any special settings we need to know about to use fetchKml on a local file? I am trying to load the file like so: // Where 'ge' is the Google Earth Plugin var href = 'C:/KMLDATA/TEST.KMZ'; google.earth.fetchKml(ge, href, function(kml) { /* do something with kml */ }); 回答1: This has

Using Matlab Google-Earth Toolbox to plot Latitude and Longitude

谁说我不能喝 提交于 2019-12-01 02:35:05
问题 I am trying to plot some waypoints using the Google-Earth toolbox. The documentation for it is pretty poor, so I figured this would be a good Stack Overflow question. I have a matrix, wypts that has pairs of latitude and longitude coordinates in decimal format (If anyone is wondering this over the State College Airport (SCE) in Pennsylvania). wypts = 40.8489 -77.8492 40.8922 -77.8492 40.9355 -77.8492 40.9788 -77.8492 41.0221 -77.8492 41.0654 -77.8492 41.1087 -77.8492 41.1154 -77.8492 The

Google Earth integrated with Google Maps API v3?

♀尐吖头ヾ 提交于 2019-11-29 18:11:45
问题 I'm trying to integrate Google Earth into Google Maps, and I saw it was possible in v2. But I can't find any doc about how to do so with v3. 回答1: Unfortunately, this is not yet implemented in Google Maps API v3, see the corresponding ticket. Please note, the more stars a ticket has, the sooner it will be taken care of. 回答2: Just a note that there is now an unofficial library at http://code.google.com/p/google-maps-utility-library-v3/ (trunk at http://google-maps-utility-library-v3.googlecode

Does the Android API support KML files?

旧城冷巷雨未停 提交于 2019-11-29 04:43:48
Is there a way in Android to load KML files from Google Earth into a map widget? Specifically I am looking to load saved shapes created in Google Earth overtop a map widget as easily as possible. Has anybody ever tried this before? It is an old question but this answer might be of some use if someone happens to stumble upon it. Do you mean to add the kml file onto a mapfragment inside an app programmatically? If so, you can use this method. private void loadKml(File file) { try( InputStream inputstream = new FileInputStream(file) ) { // Set kmllayer to map // map is a GoogleMap, context is the

Nesting KMZ files

谁都会走 提交于 2019-11-28 14:04:47
Is it possible to create one KMZ file that is composed of several smaller KMZ files? I would prefer to not have to manually merge the actual KML entities, but I will if that's the only option. A KMZ file can have any number of inner KML files (NOT KMZ files). But the first entry in the KMZ file must be the root KML file (typically named doc.kml ), which may include network links with references to other KML or KMZ files. Several inner KML files, for example, could reference a shared style (in another KML file) via relative URLs. The inner KML files can nest to any level of depth to other KML

GoogleEarth inside Java Swing

社会主义新天地 提交于 2019-11-27 23:58:46
Is it possible to embed a GoogleEarth view inside a Java Swing app? If so, could you please point me to a tutorial explaining how to do it? Embedding GoogleEarth inside Java Swing App is not feasible. Legally or otherwise. However you may find a way to embed Google Map on a frame. Edit: Found this google post . There's also NASA's World Wind SDK . Even though technically it is possible (using JXMapViewer), legaly it is not. Google does not allow using Google Maps outside of the browser. One possible solution would be to embed JWebPane ( http://weblogs.java.net/blog/alex2d/archive/JWebPaneJ1

How can I place a html div over the Google Earth plugin? Involves wmode, I imagine

你离开我真会死。 提交于 2019-11-27 01:59:27
I'm having trouble laying a html div over the Google Earth plugin in a web application, any help would be appreciated. It's fine for Map, Terrain and Hybrid mode, but on ' Earth ' mode, the Flash kicks in and automatically layers the map on top . Z-indexing doesn't help. Presumably I could do something like: document.getElementById('flashDiv').setAttribute('wmode', 'opaque'); but given that Google's stuff is compiled on the fly, it makes it much more difficult. Viewing the generated code hasn't helped here. Again, due to it being compiled on the fly, stuff like SWFObject can't save the day...

GoogleEarth inside Java Swing [closed]

妖精的绣舞 提交于 2019-11-26 21:38:27
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last month . Is it possible to embed a GoogleEarth view inside a Java Swing app? If so, could you please point me to a tutorial explaining how to do it? 回答1: Embedding GoogleEarth inside Java Swing App is not feasible. Legally or otherwise. However you may find a way to embed Google Map on a frame. Edit: Found this google

How can I place a html div over the Google Earth plugin? Involves wmode, I imagine

徘徊边缘 提交于 2019-11-26 12:29:38
问题 I\'m having trouble laying a html div over the Google Earth plugin in a web application, any help would be appreciated. It\'s fine for Map, Terrain and Hybrid mode, but on \' Earth \' mode, the Flash kicks in and automatically layers the map on top . Z-indexing doesn\'t help. Presumably I could do something like: document.getElementById(\'flashDiv\').setAttribute(\'wmode\', \'opaque\'); but given that Google\'s stuff is compiled on the fly, it makes it much more difficult. Viewing the