bing-maps

Bing Maps GetRoute gives '0x8004231C' error

霸气de小男生 提交于 2019-12-01 12:39:47
I'm trying to show a route from point-to-point on the bing-maps (testing on real device). I've entered 2 waypoints (GeoCoordinate) and I'm trying to get the route via the Windows PhoneToolKit using the await query.GetRouteAsync() . Unfortunately, I'm getting an unknown error: The result of the async call: 'e.Result' threw an exception of type 'System.Reflection.TargetInvocationException' The inner exception: Exception from HRESULT: 0x8004231C I've checked the MSDN website and noticed that this errorcode is not listed in the errorlist... The related code is below. I've used the exact same code

Bing Maps GetRoute gives '0x8004231C' error

情到浓时终转凉″ 提交于 2019-12-01 10:26:44
问题 I'm trying to show a route from point-to-point on the bing-maps (testing on real device). I've entered 2 waypoints (GeoCoordinate) and I'm trying to get the route via the Windows PhoneToolKit using the await query.GetRouteAsync() . Unfortunately, I'm getting an unknown error: The result of the async call: 'e.Result' threw an exception of type 'System.Reflection.TargetInvocationException' The inner exception: Exception from HRESULT: 0x8004231C I've checked the MSDN website and noticed that

How well does Bing Maps API integrate with Android app?

孤街醉人 提交于 2019-12-01 06:11:47
First of all, I would like to ask, CAN YOU integrate Bing Maps within an Android app? Secondly, if possible, what are the advantages Bing has over Google Maps API and vice versa? Idistic Updates This Android SDK v1.5 is now deprecated see this link for proper use of BingMap using AJAX controller Open Source Bing Maps SDK of course it's not official so there is a con right off the top, looks a bit dated but then again the google map api for android in my opinion is a bit dated, but you can work around most limitations. Seems like both of them want to keep the really "good stuff" to themselves,

How well does Bing Maps API integrate with Android app?

岁酱吖の 提交于 2019-12-01 05:26:11
问题 First of all, I would like to ask, CAN YOU integrate Bing Maps within an Android app? Secondly, if possible, what are the advantages Bing has over Google Maps API and vice versa? 回答1: Updates This Android SDK v1.5 is now deprecated see this link for proper use of BingMap using AJAX controller Open Source Bing Maps SDK of course it's not official so there is a con right off the top, looks a bit dated but then again the google map api for android in my opinion is a bit dated, but you can work

WP7 Bing Maps 'Invalid Credentials' Error

故事扮演 提交于 2019-12-01 04:41:29
I'm trying to use a bing maps control on a windows phone 7 silverlight application and it shows this error overlaid on the map. Invalid Credentials, Sign up for a Developer Account I've tried using app IDs from these two sites: http://www.bing.com/developers , and https://www.bingmapsportal.com/ am I doing something wrong? is there some account setting that I'm missing? For reference, here's how I'm defining the control and interacting with it: <my:Map x:Name="MyMap" CredentialsProvider="<<myAppId>>" /> And in the code behind: var vm = this.DataContext as ItemViewModel; Pushpin pushpin = new

WP7 Bing Maps 'Invalid Credentials' Error

给你一囗甜甜゛ 提交于 2019-12-01 02:51:06
问题 I'm trying to use a bing maps control on a windows phone 7 silverlight application and it shows this error overlaid on the map. Invalid Credentials, Sign up for a Developer Account I've tried using app IDs from these two sites: http://www.bing.com/developers, and https://www.bingmapsportal.com/ am I doing something wrong? is there some account setting that I'm missing? For reference, here's how I'm defining the control and interacting with it: <my:Map x:Name="MyMap" CredentialsProvider="<

Getting Location Name from Longitude and Latitude in BingMap

一笑奈何 提交于 2019-12-01 01:56:35
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!! 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/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/search

Check if a point is in polygon (maps)

佐手、 提交于 2019-11-30 21:57:05
I'm trying to check if a point is in polygon. At the moment I have try with this function pointInPolygon:function (point,polygon){ var i; var j=polygon.length-1; var inPoly=false; var lon = point.longitude; var lat = point.latitude; for (i=0; i<polygon.length; i++) { if (polygon[i][0]<lon && polygon[j][0]>=lon|| polygon[j][0]<lon && polygon[i][0]>=lon){ if (polygon[i][0]+(lon-polygon[i][0])/(polygon[j][0]-polygon[i][0])*(polygon[j][1]-polygon[i][1])<lat){ inPoly=!inPoly; } } j=i; } return inPoly; } ... this function is seems to work on simple polygon ( http://jsfiddle.net/zTmr7/3/ ) but it won

Check if a point is in polygon (maps)

眉间皱痕 提交于 2019-11-30 17:43:34
问题 I'm trying to check if a point is in polygon. At the moment I have try with this function pointInPolygon:function (point,polygon){ var i; var j=polygon.length-1; var inPoly=false; var lon = point.longitude; var lat = point.latitude; for (i=0; i<polygon.length; i++) { if (polygon[i][0]<lon && polygon[j][0]>=lon|| polygon[j][0]<lon && polygon[i][0]>=lon){ if (polygon[i][0]+(lon-polygon[i][0])/(polygon[j][0]-polygon[i][0])*(polygon[j][1]-polygon[i][1])<lat){ inPoly=!inPoly; } } j=i; } return

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

和自甴很熟 提交于 2019-11-30 15:48:31
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 I strongly recommend Google Maps. Fabulous documentation Code Playground Very fast learning curve With the new v3 api you don't need a api key Cheers take a look at our series of articles comparing aspects of both,