bing-maps

How to correctly handle “/Date(…-0700)/” date format from Bing using Moment?

拈花ヽ惹草 提交于 2019-12-13 16:04:24
问题 I'm using the Bing Routes API, and it's returning dates in this kind of format: /Date(1538245980000-0700)/ It looks like Unix timestamp in milliseconds, followed by a timezone. The Moment docs claim to be able to handle these correctly, but they also say that Unix timestamps and Date objects refer to specific points in time, thus it doesn't make sense to use the time zone offset when constructing. Based on other context (it's the time a bus leaves Stawell, a few hours from Melbourne, on

Points of interest for zip code

坚强是说给别人听的谎言 提交于 2019-12-13 11:11:58
问题 I"m looking for way to get list of points of interests like airports, parks, etc. per zip code using Bing maps. Believe me, I search google but it looks like my google is broken since I can't find anything useful. I just need a way to get that info. If there is like a list that would be even better. Any help is appreciated fellows. Is there a simple URL where I can pass in my bing map key, a category and longitude/latitude and get a list of point of interests? 回答1: You could use the NAVTEQ

Bing Map for Windows phone 8.1 app

北城以北 提交于 2019-12-13 08:34:33
问题 I need to implement a bing map in my Windows Phone 8.1 app coded using C# on Visual Studio 2015. My question is for authentication of the bing map, can I use a key retrieved from the Bing Maps Portal (https://www.bingmapsportal.com/) or will I have to register in the Windows Dev Center (https://dev.windows.com/overview) which in return will cost me and use a key from there. I have a DreamSpark account if that would help in any way. I'm posting this because I searched everywhere on the net and

WPF Application with map control and custom map

烂漫一生 提交于 2019-12-13 06:08:02
问题 I have a georeferenced orthofotomap of cmentary. There is layers with foto, graves and roads between them. I'm trying to create WPF application with map control and display map connected with database that I created. I need to allow user to click some grave and then show a overlay with some personal date and button to navigate to this specific grave using routes that I marked before in other program like QGIS. Is there any way to do is with Bing Maps? Or do you know any way to resolve this

Getting Distance between two Points in SSRS report map

孤街醉人 提交于 2019-12-13 05:42:46
问题 I have created an SSRS reports in which i'm using map along with bing map. Also i have using the Point layer in the map. How can i able to get distance between 2 points in the map? Kindly advice... 回答1: The below function gives you distance between two GeoCoordinates in kilo metres CREATE FUNCTION dbo.fnCalcDistanceKM(@lat1 FLOAT, @lat2 FLOAT, @lon1 FLOAT, @lon2 FLOAT) RETURNS FLOAT AS BEGIN RETURN ACOS(SIN(PI()*@lat1/180.0)*SIN(PI()*@lat2/180.0)+COS(PI()*@lat1/180.0)*COS(PI()*@lat2/180.0)

Using data from an array retrieved from MongoDB. Using the data to create pushpins on a map

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-13 04:27:02
问题 I'm trying to create an application in c#, WPF which will get data from a MongoDB. The basic quering against the MongoDB I get and I also get data out from the DB, but the geodata I'm trying to use is stored like this: "geo" : { "type" : "Point", "coordinates" : [ 59.28973919, 11.1446193 ] } So I retrieve the data like this: public static MongoDatabase GetDatabase(string searchText) { MongoServerSettings settings = new MongoServerSettings(); settings.Server = new MongoServerAddress("database

Muliple Pushpins in Windows Phone 8.1

我的梦境 提交于 2019-12-13 03:56:44
问题 I am using MapControl to display map. I have MapServiceToken too. I have added custom pushpin using MapIcon and assigned this object to Map. It is working fine. But when i try to add multiple pushpins using same scenario and assign it to map so i am getting last pushpin on the map. Rest of other pushpins are not getting visible. Kindly tell me any simple solution to this problem. Thanks 回答1: You can binding your pushpins on map without MapIcon. Add in xaml <Maps:MapControl x:Name=

Get not the latest imagery of maps

若如初见. 提交于 2019-12-13 01:30:31
问题 Is there any possibility to get not the latest imagery for google/bing/yandex maps? For example, I'd like to show on my website imagery for the 2005 year. I couldn't find this methods in APIs. Thank you, Dmitry. 回答1: Bing Maps does not make historical imagery available. 回答2: The answer from https://gis.stackexchange.com/questions/81794/how-to-retrieve-historical-imagery-from-web-mapping-services/ : "This may not be the exact answer, but may help you on your journey. Take a look at this

Cool Infobox and plot polygons through xml …in bing maps , pure javascript

元气小坏坏 提交于 2019-12-12 22:18:15
问题 I have just started with bing maps and wish to accompilish two things for my project . a) define layers/shapes by loading data via xml B) Have a tooltip/infobox like this site:- check the source file here 回答1: For custom infoboxes in Bing Maps there are two options. The first is to use the built in infobox control and set the html content property. I have a blog post on how to do this here: http://rbrundritt.wordpress.com/2011/11/08/simple-custom-infoboxes-in-bing-maps-v7/ The second method

Pushpin resize binding zoomlevel

与世无争的帅哥 提交于 2019-12-12 18:46:54
问题 I'm using WinRT with bing maps and i'm trying to set (programmatically) the RenderTransform value of my pushpin when zooming on map. I tried this Solution but seems that the Windows 8 controls do not support binding to the ZoomLevel property. does anyone have any either workaround or working example ? Thankyou in advance 回答1: I post here an example that can be used from others if needed. Exploiting your suggestion of using the "ViewChanged" event I wrote this code snippet: private double