bing-maps

Cannot interact with Bing Map on iOS; Android does not show polyline (Flex Mobile App, using Javascript API through StageWebView)

爱⌒轻易说出口 提交于 2019-12-12 18:09:52
问题 After being unable to solve this issue, I decided to try to implement my application using Bing Maps. I am trying to load a StageWebView with the Google Maps Javascript API inside a Flex Mobile application. Everything works perfectly when I view this in a browser (IE, Chrome and Safari) and in the Flash Builder simulators. On the actual devices I get varying results. I am using the StageWebView.loadString() method to load my code in Flex. The iPhone displays the map and the shapes I put on it

No implementation file was provicded for the .winmd file

人走茶凉 提交于 2019-12-12 11:05:54
问题 I have a warning when I build my Windows 8 App project in VS2012: No implementation file was provided for the .winmd file 'C:\Users\luke\LApp\LApp\bin\x86\Debug\Bing.Maps.winmd'. To generate registration information in the app manifest, specify the 'Implementation' metadata on the .winmd reference item in the project file. I don't really know what other information to provide. I've Googled and it doesn't provide any relevant results. It gives a link to this: http://msdn.microsoft.com/en-us

how to get the geolocation of a click on a bing map in C#

只愿长相守 提交于 2019-12-12 09:18:21
问题 is it possible to get the geolocation of the point where i clicked on a bing Map in c#? 回答1: Alright, since you're in WinRT in C#, you're using the Bing Maps Windows Store App control. Add the map into your XAML markup: <Page x:Class="Win8PublicApp.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup

Using Sql Spatial Data (C#) to find the “visual” center of irregular polygons

雨燕双飞 提交于 2019-12-12 07:32:49
问题 I'm drawing regions (using SqlGeometry / SqlGeography and translating them to the WPF LocationCollection equivalent) on the Bing Maps WPF Control and needed to label them. I got the labels drawn on the regions and attached them to the point found by STCentroid() . Of course as you imagine this is a problem with the 'U' or 'C' shaped regions where the centroid ends up outside the region, which makes the label incorrect. Is there a way using SqlGeometry / SqlGeography to find the "visual"

Bing Static Map Image type

二次信任 提交于 2019-12-12 06:13:27
问题 May I know how to determine the output of Bing map static image? Previously it used to be in png but now it is in jpeg. May I know how to revert back to png format? Example: Display the image with the link below: http://dev.virtualearth.net/REST/V1/Imagery/Map/Road/space%20needle,seattle?mapLayer=TrafficFlow&mapVersion=v1&key=BingKey The image is in jpeg. How to make it to png? Thanks. 回答1: I don't think you can request the image in a different format. From http://msdn.microsoft.com/en-us

How can I add a thumbnail image to a Bing Map pushpin's popup/flyout window?

六月ゝ 毕业季﹏ 提交于 2019-12-12 04:45:31
问题 I'm not certain about the terminology for the little window that pops out when you click a map marker/pushpin, but what I want to do with my Bing Map pushpin in this transitory window is display something like this when it is clicked/tapped: My Dog Spot - miPerroMancha.png { the thumbnail here } 5/29/2013 elAmadoDeFresno.png { the thumbnail here } 10/19/2014 IOW, the "popup" should display: The image description, if available, plus file name; otherwise, just the file name, The thumbnail

How to wait BingMaps to be loaded in Aurelia

雨燕双飞 提交于 2019-12-12 04:28:55
问题 I am trying to use BingMaps in an Aurelia SPA. What I've done is to add BingMaps script tag to the Head section of the Index page. like this: <head> <meta charset="utf-8"> <script type='text/javascript' src='http://www.bing.com/api/maps/mapcontrol?branch=release'></script> </head> Then I have a Map template and Map controller like this: map.html <template> <div id='mainMap' style='width: 100vw; height: 100vh;'></div> </template> map.ts export class Map { map:Microsoft.Maps.Map; attached(){

How can I draw/specify a route on a dynamic Bing Map (using the Bing Maps iOS SDK)

 ̄綄美尐妖づ 提交于 2019-12-12 03:48:20
问题 I have looked for hours for what seems like it should be a trivial task. I simply want to draw a route through a series of waypoints (which I have as both address strings and geoCoordinates). The Imagery API lets me do a query for a static map, which seems to be a common solution, but I was hoping to draw the route on the dynamic, interactive map provided by the Bing Maps iOS SDK. Thank you. 回答1: "draw the route on the dynamic, interactive map provided by the iOS SDK." Is this to say that you

Using the Searchservice from Bing Maps in WP7

独自空忆成欢 提交于 2019-12-12 03:34:03
问题 I used this to locate an address on Bing Maps on WP7 using the emulator. The site mentions searchservice, which is something I want to try out and implement. However, the method seems to be different, in the sense that the query parameters are different and so is the way to query it. Can anyone help me find resources that give me a (if possible) step-by-step list of how to achieve or implement the searchservice. I have been through the official MSDN pages and they're quite useless. For my

Identifying pushpins after plotting them - Bingmaps

て烟熏妆下的殇ゞ 提交于 2019-12-12 03:29:25
问题 I am currently working with Bing maps version 8 . I was previously working with version 7 . When plotting pushpins in version 7 a htmlContent attribute was sent along with the pushpins. What this html content did was that the pushpin was contained inside the div element . var pushpinOptions = { htmlContent: "<div id='container" + siteIndex + "'style='pointer-events: all !important; z-index: 35000; '></div><div id='lines"+siteIndex+"'></div>", anchor:new Microsoft.Maps.Point(iconWidth/2