bing-maps

Convert address to coordinates

╄→尐↘猪︶ㄣ 提交于 2019-12-21 05:16:05
问题 There is a way to convert address to coordinates with bing maps? Thank 回答1: The process of going from addresses to lat/lng coordinates is normally called Geocoding This blog post has some good example code for WP7 using Bing - http://www.braincastexception.com/wp7-web-services-first-part-geocodeservice/ 来源: https://stackoverflow.com/questions/5529135/convert-address-to-coordinates

Google Maps, Bing Maps, OpenStreetMaps and MapQuest limitation

那年仲夏 提交于 2019-12-21 04:58:11
问题 I'm very confused reading the online term of use of some Online Map Service (like Google Maps, Bing Maps, OpenStreetMaps and Mapquest)... There is a way to use Google or Bing Maps on a website for non-commercial or commercial pourpose without any daily limitation of request?? What kind of Api I can use for free without any limitation of use or request, if I want to see a map on my site with several point of interest inserted by me?? I have read that in free version of Google or Bing some ads

Calculate distance between two points in bing maps

眉间皱痕 提交于 2019-12-21 03:10:08
问题 Ihave a bing map, and a two points : Point1,Point2 and i want to calculate the distance between these two points? is that possible? and if i want to put a circle on the two third of the path between point1 and point2 and near point2 ...how can i make it? 回答1: See Haversine or even better the Vincenty formula how to solve this problem. The following code uses haversines way to get the distance: public double GetDistanceBetweenPoints(double lat1, double long1, double lat2, double long2) {

Map APIs for windows PHONE 8.1 in HTML, CSS, JS

久未见 提交于 2019-12-20 06:38:12
问题 I am aware there is a similar question (Map APIs not working for windows phone in HTML), but I don't have enough reputation to comment so I am having to ask my own question. I have successfully added bing maps to my windows 8.1 store app (HTML, JS, CSS), but when trying to add the reference in visual studio (the maps SDK) to windows phone 8.1 the option isnt available to me. I went through the answer to the question asked previously and in the examples there is a windows store app (fine!), a

WP7 dragging a pushpin on a map

大城市里の小女人 提交于 2019-12-20 05:48:06
问题 Does anyone have any insight into how to implement a draggable pushpin on a map on a WP7 client running Mango? I have a pushpin bound to a geo-location on a map and I want the user to be able to drag it on a map and record its new location. I've seen some resources, but they're for non-WP7 Bing Maps control. Any help would be appreciated. Thanks! 回答1: e.GetPosition(element) gives the position relative to the element passed on the parameter. Also, the point to convert using

Using Bing Maps Quadkeys as Openlayers 3 Tile source

試著忘記壹切 提交于 2019-12-20 04:52:02
问题 I have a number of tile sources which utilise Bing Maps' Quadkey system in an old Silverlight application and I would like to use them in a new Openlayers 3 map. I have found several examples of functions which will convert these sources for Leaflet.js but the syntax is somewhat different for OL3 and reading through the API docs indicates that there is an ol.Tile.coord class but if I understand correctly this is an experimental feature and might require a custom build from the source code.

Bing Maps API v8 - pushpin SVG URI image

放肆的年华 提交于 2019-12-20 03:28:07
问题 I'm trying to build a custom bing maps v8 API pushpin combining text and a small uri data image, but I get an 'Uncaught InvalidStateError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The HTMLImageElement provided is in the 'broken' state.' error on the browser console. Any ideas? MapOptions = { credentials: 'mycredentials', mapTypeId: Microsoft.Maps.MapTypeId.road, zoom: 10, showMapTypeSelector: true, enableInertia: false, enableClickableLogo: false, disableKeyboardInput:

Getting Location Name from Longitude and Latitude in BingMap

…衆ロ難τιáo~ 提交于 2019-12-19 05:00:49
问题 I am a WP7 developer. I have longitude and latitude of a location. Is there anyway to get the info the location defined by the coordinate ie longitude and latitude. Thank you!! 回答1: Yes, you can do this via the Bing Maps REST API, you need to perform a reverse geocode. This is done by GET-ing the following request: http://dev.virtualearth.net/REST/v1/Locations/47.64054,-122.12934?o=xml&key=BingMapsKey Which will return the address in XML format: <Response xmlns:xsi="http://www.w3.org/2001

best api for develop with maps web application google-maps vs bing-maps

馋奶兔 提交于 2019-12-18 18:24:13
问题 i'm need to develop and web application that uses maps, and i have two option in my to reach the goal. Google maps or bing maps, my concern it's witch it's better about Documentation it's very important Implementation with a Web application develop in .net Fast learning curve i need recommendations because for my point of view both are a completed tools for solve my problem. Thanks 回答1: I strongly recommend Google Maps. Fabulous documentation Code Playground Very fast learning curve With the

How can I get Tile Count, Tile X, Tile Y details without specifying zoom Level (or LevelOfDetails)?

十年热恋 提交于 2019-12-18 13:37:34
问题 This is with reference to Google Tile Map or Bing Maps. Is it possible to get Tile Count, Tile X, Tile Y details without specifying zoom Level (or LevelOfDetails) with any kind of internal calculations? Client will give just Coordinates P1 and P2 and ask for a Tile Map and Bound Box, etc. Shilpa 回答1: Each tile is 256 pixels by 256 pixels. Zoom level 0 is 1 tile. (1 x 1) Zoom level 1 is 4 tiles. (2 x 2) Zoom level 2 is 16 tiles. (4 x 4) Zoom level 3 is 64 tiles. (8 x 8) Zoom level 4 is 256