bing-maps

Load custom tiles in Bing maps on WPF

a 夏天 提交于 2019-11-27 02:01:53
问题 I am trying to use a custom tileset for Bing maps. What I am trying to do is similar to the question here, but I'm trying to understand how a URI is formatted so that I can host the tiles within the application. The reason I am trying to host this locally is because I want to limit network traffic out from my application as much as possible. Are there any tutorials on hosting the map tiles locally or a more in depth tutorial on how to have the URI point to a local storage path? Thanks in

Easting northing to latitude longitude

谁说我不能喝 提交于 2019-11-26 21:15:00
问题 I've got coordinates of location in easting/northing format but I need to convert it to proper lat long to center it in bing maps. Any formula or details how to convert easting/northing to lat/lon? EDIT: To be more specific, I need to convert SVY21 coordinates to the to WGS84 回答1: Eastings and northings are distances east and north, respectively, of a base point. The base point is usually a latitude and longitude, and eastings and northings are normally expressed in meters or feet. The

Get user's location (latitude, longitude) with Bing or Google Maps API

让人想犯罪 __ 提交于 2019-11-26 20:58:52
问题 is there a way to retrieve a latitude & longitude of the user using Bing Maps API or Google Maps API. I think I saw an code snippet where a "autolocate me" feature was used to mark user on the Map itself: var geoLocationProvider = new Microsoft.Maps.GeoLocationProvider(map); geoLocationProvider.getCurrentPosition(); But that function doesn't return any data, it simply set location on the map, whereas I need that location to perform some calculations, namely calculate which of predefined list

Highlighting whole street with some maps API

自闭症网瘾萝莉.ら 提交于 2019-11-26 19:41:42
问题 Is there any way to highlight/display on Google/Bing/(any other map provider) Maps whole street (from the beginning of the street to the end of)? I know the existence of Polyline in Google Maps API, but it's just connecting two latitude points, and there is no way of making it automatic so I could display any street in some city. Also I was thinking about Directions , but many street are 2 way, there is no guarante that you will mark whole street and it's just now user friendly. Example 回答1: