bing-maps

Bing Maps Issue on Safari 7

大憨熊 提交于 2019-12-12 02:57:38
问题 So i am having an issue in which the bing maps are not rendered completely on Safari 7. They are loaded fine on Chrome and IE. Example - copy and paste the link into Safari 7 on a Mac : http://www.levi.com/GB/en_GB/findAStore As You can see only half the map renders the other half is gray, i get no errors in the console, the only warning i get is: "Invalid CSS property declaration at:* style.css" Is anyone else running into this issue? is there a fix for it? 回答1: Try text-align:left in the

Windows Phone 8.1 WinRT set Button location on MapControl

╄→尐↘猪︶ㄣ 提交于 2019-12-12 02:48:10
问题 I want to set the Button on MapControl in my WP 8.1 app. The problem is the Button isn't on location of the element only is on top-left of the Map and it is moving. Location in binding is Geopoint. Here's my code: <Maps:MapControl x:Name="MapEvent" Grid.Row="1"> <Maps:MapItemsControl ItemsSource="{Binding}"> <Maps:MapItemsControl.ItemTemplate> <DataTemplate> <StackPanel> <Button Maps:MapControl.Location="{Binding Location}" Maps:MapControl.NormalizedAnchorPoint="0.5,0.5" Content="{Binding

How to save and append to a map layer?

点点圈 提交于 2019-12-12 02:13:41
问题 I have a method to draw pushpins to a map which works fine, but I need to append a second pushpin to the first layer. I'm guessing this will involve saving the first layer so that it can be manipulated later. Does anyone have any idea how I would go about this as I'm not quite sure how to save a layer? At present the DrawPushPin method is called twice in the app, so the first time a new layer is created and same for the second time but this is not ideal as I need to append to the first layer

Adding in Maps to Silverlight Project

a 夏天 提交于 2019-12-12 02:08:51
问题 Im wanting to know if there is any commercial free map display options for Silverlight projects these days? I tried to run DeepEarth and it just wouldnt play for me in SL5. Im keen to run OpenStreetMaps so we can deploy it commercially without licensing issues. Any advice would be appreciated. Thanks 回答1: I use bing maps , http://msdn.microsoft.com/en-us/library/cc980922.aspx http://www.microsoft.com/maps/isdk/silverlight/ <UserControl x:Class="MapControlInteractiveSdk.Tutorials

Virtual Earth (Bing) Pin “moves” when zoom level changes

穿精又带淫゛_ 提交于 2019-12-12 01:33:38
问题 Created a Virtual Earth (Bing) map to show a simple pin at a particular point. Everything works right now - the pin shows up, the title and description pop up on hover. The map is initially fully zoomed into the pin, but the STRANGE problem is that when I zoom out it moves slightly lower on the map. So if I started with the pin pointing somewhere in Toronto, if I zoom out enough the pin ends up i the middle of Lake Ontario! If I pan the map, the pin correctly stays in its proper location.

Windows 8 App XAML/C#: Set multiple pushpins to Bing map in one method

一世执手 提交于 2019-12-12 01:29:04
问题 I am struggling to add a collection of latitude & longitude as Pushpins on Bing Map, in a Windows 8 app using XAML & C#. Adding Pushpins one by one using an event handler such as a right tap on the map works fine. Here is the XAML: <bm:Map x:Name="myMap" Grid.Row="0" MapType="Road" ZoomLevel="14" Credentials="{StaticResource BingMapAPIKey}" ShowTraffic="False" Tapped="map_Tapped" > <bm:Map.Center> <bm:Location Latitude="-37.812751" Longitude="144.968204" /> </bm:Map.Center> </bm:Map> And here

Is it possible to use Bings street view with ASP.NET or Silverlight?

ⅰ亾dé卋堺 提交于 2019-12-12 01:18:35
问题 I wont write web application, which will use street view of Bing(or Googles one if it can be used by ASP.NET or Silverlight). I found SDK for Bing map: http://www.microsoft.com/maps/isdk/silverlight/ But I need streets 3D view. Is it possible? Thanks. 回答1: Yes, it's possible - see Bing Maps Extended Modes. Also check out these articles: http://www.bing.com/toolbox/blogs/maps/archive/2009/12/10/adding-streetside-and-enhanced-birds-eye-to-your-applications.aspx http://innovativesingapore.com

Bing Maps Beginner Tutorial sought

此生再无相见时 提交于 2019-12-12 00:53:34
问题 Friends... Are there any good beginner tutorials for Bing Maps (Windows Mobile using Visual Studio)? Part of a homework assignment includes developing a very simple app that uses the Bing Maps. My idea is to fill a dropdown list with 3 values, "Aruba", "Botswana" and "Cape Verde". Upon selection, have the Map display the nation selected in the dropdown. I'm not sure where to start and need a tutorial that will at least give me an overview of how to do this. Thanks in advance 回答1: Windows

Draggable AND clickable pushpin in javascript bing map

旧巷老猫 提交于 2019-12-12 00:39:01
问题 Does anyone get the way to put draggable pushpins through the bing api using javascript? Its is even possible to have that functionality through the api (javascript)? 回答1: The answer is there! http://www.bingmapsportal.com/ISDK/AjaxV7#Pushpins13 var pushpinOptions = {icon: 'poi_custom.png', draggable:true}; var pushpin= new Microsoft.Maps.Pushpin(map.getCenter(), pushpinOptions); pushpindragend= Microsoft.Maps.Events.addHandler(pushpin, 'dragend', enddragDetails); map.entities.push(pushpin);

possible to highlight a section of a street?

喜你入骨 提交于 2019-12-11 23:33:26
问题 I need to highlight a section of a street between two intersections. I have found a similar question which was asked more than a year ago (see here) which says that Google, Bing, etc. do not provide street data through their APIs. Does anyone know if anything has changed in the APIs, and whether I can get street location latitude/longitude data from somewhere now? 回答1: I have done this in API V2, but it should not be to difficult to rewrite it for V3. Have a look at this website http://www