google-earth

Android Google Maps/Earth opening Local KML/KMZ file and play the tour functionality

人盡茶涼 提交于 2021-02-19 07:40:48
问题 Is there a way to open a local KML/KMZ file in Google Maps/Earth app on Android? Tried the below approach but didn't work. Intent mapIntent = new Intent(Intent.ACTION_VIEW); Uri uri1 = Uri .parse("geo:0,0?q=file:///mnt/sdcard/doc.kml"); mapIntent.setData(uri1); startActivity(Intent.createChooser(mapIntent, "Sample")); If not and if we can specify only links that are hosted on the web then can we specify a link to the Google Drive file to show directly on Google Maps/Earth? Intent mapIntent =

KMZ File with Icon

喜夏-厌秋 提交于 2021-02-08 05:47:18
问题 I'm trying to put an icon in a KMZ file so the user can view a thumbnail when they click on the pinpoint. I have the following code - It's working, but isn't showing the icon/thumbnail. I've looked at the Google Developers and can't see a difference. Just need a second pair of eyes to view it. <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <Placemark> <name>Evidence File</name> <description>SAMSUNG - GT-I9000 2012:10:25 17:36:57 2797 KB Height: 2448 Pixels

Android Google Maps talking to Google Maps Enterprise Data?

谁说我不能喝 提交于 2020-01-25 11:14:51
问题 Is it possible to switch the Android Google Maps code to utilize custom data provided by a Google Enterprise? Details: Google provides an "enterprise" version of its maps service, where you can host your own data. See here: http://www.google.com/enterprise/earthmaps/earth_technical.html But Android's Maps API has no way of using any alternative data sources other than what is freely available on the web. http://code.google.com/android/add-ons/google-apis/index.html There are other tools like

Android Google Maps talking to Google Maps Enterprise Data?

不想你离开。 提交于 2020-01-25 11:14:10
问题 Is it possible to switch the Android Google Maps code to utilize custom data provided by a Google Enterprise? Details: Google provides an "enterprise" version of its maps service, where you can host your own data. See here: http://www.google.com/enterprise/earthmaps/earth_technical.html But Android's Maps API has no way of using any alternative data sources other than what is freely available on the web. http://code.google.com/android/add-ons/google-apis/index.html There are other tools like

how to add dynamic kml to google earth?

随声附和 提交于 2020-01-24 19:21:25
问题 We are trying to add dynamic kml to google earth.But we are failing in one situation. CODE: var currentKmlObject = null; function loadkmlGE(){ if (currentKmlObject != null) { ge.getFeatures().removeChild(currentKmlObject); currentKmlObject = null; } var url = 'test.kml'; google.earth.fetchKml(ge, url, finished); } function finished(kmlObject) { if (kmlObject) { currentKmlObject = kmlObject; ge.getFeatures().appendChild(currentKmlObject); } else { setTimeout(function() { alert('Bad or null KML

fill polygons in google map/earth

非 Y 不嫁゛ 提交于 2020-01-23 03:26:04
问题 My KML file looks like this: <?xml version="1.0" encoding="utf-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <Document> <Style id="s1"> <LineStyle> <color>7f0000ff</color> <width>4</width> </LineStyle> <PolyStyle> <color>7f0000ff</color> <colorMode>normal</colorMode> <fill>1</fill> <outline>1</outline> </PolyStyle> </Style> <name>All isolation countries</name> <description>All isolation countries</description> <Placemark> <styleUrl>#s1</styleUrl> <name>Indonesia</name> <Polygon> <extrude

Replace pannable world map image by Google Earth globe in Kinect sample

こ雲淡風輕ζ 提交于 2020-01-13 18:08:01
问题 I need basic guidance on how to control Google Earth using Kinect Hand gestures instead of using mouse/keyboard navigation. I have ran Kinect Developer toolkit sample, and there is one named interactive gallery in C# that allows panning world map (It's a static image). Here is the link to it's documentation, Kinect interactive gallery I exactly want to create the same thing but allowing the world globe to be moved,zoom and rotate using hand gestures instead of a simple map image. Currently I

Text Overlay in Google Earth KML

末鹿安然 提交于 2020-01-11 06:24:13
问题 I would like to add a date/time that the KML file was last updated to be displayed as an overaly in Google Earth, is there anyway this could be done? I would be looking at updating text in a KML file and then this being displayed in google earth. Many Thanks. 回答1: One trick is using the Google Chart API to dynamically create images from text and using that as a screen overlay image in Google Earth. Example: <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2">

Conflicting KML xmlns attribute from KML to XSLT

蹲街弑〆低调 提交于 2020-01-06 15:18:59
问题 I have an XSLT which has the job of reformatting KML to GML. <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.opengis.net/gml" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" exclude-result-prefixes="kml"> <xsl:output method="xml" indent="yes" encoding="utf-8" omit-xml-declaration="yes" /> <!-- Removes all nodes with any empty text --> <xsl:template match="*[.='']"/>

JavaScript In KML Ignored By Google Earth Plugin

瘦欲@ 提交于 2020-01-04 04:11:10
问题 I've created a simple KML file that works in the standalone Google Earth client, but won't work at all in the Google Earth Plugin (regardless of browser): <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom"> <Folder> <name>South Florida</name> <open>1</open> <Document> <name>Miami</name> <Style id="miami_style"> <IconStyle> <Icon>