google-earth

Google Earth Api - programmatically enter StreetView mode

谁都会走 提交于 2019-12-04 04:28:18
问题 I'm trying to give google earth api a start point which I get back from Google map Api v3(I have lat and lng). The thing I want to do is give a location to Google Earth and it can automatically moved to street view level. So far what I did can only move to ground level. The following code is how I try move Google Earth's camera var lookAt = DS_ge.createLookAt(''); lookAt.setLatitude(myRoute.steps[0].path[0].lat()); lookAt.setLongitude(myRoute.steps[0].path[0].lng()); lookAt.setRange(1000.0);

Maps with Windows Forms application

半城伤御伤魂 提交于 2019-12-04 03:21:19
I am building a C#/Winforms application that requires a map (a la Google maps, Bing maps etc.). But I am terribly confused by the ToU (licensing) - non-commercial use etc. My questions: What mapping provider would you suggest (preferably free) to embed with a winforms application, for commercial purposes. What mapping provider would you recommend if the app is "offline" i.e. cannot get tiles from a mapping server. Google Earth seemed quite promising until I read in the ToU of non-commercial use only clause, would you know if that is waivable through purchase of a license? Any commercial

Building large KML file

∥☆過路亽.° 提交于 2019-12-03 17:37:24
I generate KML files which may have 50,000 placemarks or more, arranged in Folders based on a domain-specific grouping. The KML file uses custom images which are packed in to a KMZ file. I'm looking to breakup the single KML file in to multiple files, partitioned based on the grouping, so rather than having 1 large document with folders, i'd have a root/index KML file with folders linking to the smaller KML files. Is this possible though? I think that a KMZ file can contain only 1 KML file, regardless of where it's located or its name, in the zip. Furthermore, I'm not exactly sure how a KML

Is there a way to divide a map into square grids and retrieve latitude/longitude information from there? [closed]

懵懂的女人 提交于 2019-12-03 14:24:23
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. I have a map of a specific area and I need to determine whether a given location -with lat-lon coordinates- falls into any grid that covers this map. I decided to divide the map of the area I was given into 1 km x 1 km square grids using Google Earth -enabling the square grids using CTRL+L and zooming to the appropriate scale so that the grid lines are 1000 meters away from each other- and extract the entire data as KML,

How can I send a kml file to Google Earth, like MyTracks (open source) do?

白昼怎懂夜的黑 提交于 2019-12-03 06:23:33
问题 I don't know if you have seen the amazing Mytrack update, but it allow to send a kml file to Google Earth app and display it inside the Google app (if installed, of course). The source code is there: http://code.google.com/p/mytracks/source/browse/ but I cannot find the way to achieve such a thing. I think I found something here: http://code.google.com/r/jshih-mytracks3/source/browse/MyTracks/src/com/google/android/apps/mytracks/io/file/SaveActivity.java?spec

How can I send a kml file to Google Earth, like MyTracks (open source) do?

て烟熏妆下的殇ゞ 提交于 2019-12-02 19:49:11
I don't know if you have seen the amazing Mytrack update, but it allow to send a kml file to Google Earth app and display it inside the Google app (if installed, of course). The source code is there: http://code.google.com/p/mytracks/source/browse/ but I cannot find the way to achieve such a thing. I think I found something here: http://code.google.com/r/jshih-mytracks3/source/browse/MyTracks/src/com/google/android/apps/mytracks/io/file/SaveActivity.java?spec=svn5178eb75934b7f0c4c23ec26b7d79a0787de18b8&r=5178eb75934b7f0c4c23ec26b7d79a0787de18b8 else if (playTrack) { Intent intent = new Intent(

Open Google Earth and load specific KML file when user clicks link on web page

早过忘川 提交于 2019-12-02 10:59:39
问题 I'm currently working on a site which displays map data in Google Maps, but also has a link to display it in Google Earth. To get view this data in Google Earth, a user clicks the link, downloads the file, then opens the file with Google Earth. Is there a method to automate this, so that a user can click the link and the file is automatically opened in Google Earth, similar to the iTunes web store? I've searched through the documentation to little avail. 回答1: No, you can't force the users

Open Google Earth and load specific KML file when user clicks link on web page

泪湿孤枕 提交于 2019-12-02 02:48:00
I'm currently working on a site which displays map data in Google Maps, but also has a link to display it in Google Earth. To get view this data in Google Earth, a user clicks the link, downloads the file, then opens the file with Google Earth. Is there a method to automate this, so that a user can click the link and the file is automatically opened in Google Earth, similar to the iTunes web store? I've searched through the documentation to little avail. No, you can't force the users machine to launch an application like that. However, a user can set this up themselves if they wish in certain

Google Earth Api - programmatically enter StreetView mode

爷,独闯天下 提交于 2019-12-01 22:32:41
I'm trying to give google earth api a start point which I get back from Google map Api v3(I have lat and lng). The thing I want to do is give a location to Google Earth and it can automatically moved to street view level. So far what I did can only move to ground level. The following code is how I try move Google Earth's camera var lookAt = DS_ge.createLookAt(''); lookAt.setLatitude(myRoute.steps[0].path[0].lat()); lookAt.setLongitude(myRoute.steps[0].path[0].lng()); lookAt.setRange(1000.0); //default is 0.0 DS_ge.getView().setAbstractView(lookAt); Is there any way to achieve the result like I

Text Overlay in Google Earth KML

耗尽温柔 提交于 2019-12-01 09:03:59
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. 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"> <ScreenOverlay> <Icon> <href><![CDATA[http://chart.apis.google.com/chart?chst=d_text_outline&chld=FFBBBB|16|h