bing-maps

Win 8 App: Bing Maps Binding Location

六月ゝ 毕业季﹏ 提交于 2019-12-11 22:19:38
问题 I want to bind the Longitude and Latidute value from a Bing Map. But that doesn't work. if I code the values in the xaml it works fine. But with the binding the Map does not center. Here is my example: <Maps:Map ZoomLevel="7" x:Name="myMap" Credentials="my_Code"> <Maps:Map.Center> <Maps:Location Latitude="{Binding Maps.Latitude}" Longitude="{Binding Maps.Longitude}" /> </Maps:Map.Center> <Maps:Map.Children> <Maps:Pushpin> <Maps:MapLayer.Position> <Maps:Location Latitude="{Binding Maps

Bing map bug on Safari 7 (or Safari bug?)

*爱你&永不变心* 提交于 2019-12-11 20:18:55
问题 I am displaying a set of properties on Bing map. It works all fine in Chrome, FireFox, IE, and Safari on Windows (version is 5.1.7 - their latest version for Windows). But it doesn't work in Safari 7 on Mac. When displayed correctly, all properties are located on a green residential area. But on Safari 7, all properties are displayed on the far left of that area - on a totally wrong location. Also, the larger left part of the map is blank (there is no map!). I saw a similar post Bing Maps

Pushpin location binding in windows phone 8 app is not working

好久不见. 提交于 2019-12-11 19:26:11
问题 i am developing a windows phone 8 app, in which i have to display a pushpin to current location. while running the code it is showing an exception: "An exception of type 'System.NullReferenceException' occurred in MapTestApp.DLL but was not handled in user code" public MainPage() { InitializeComponent(); geolocator = new Geolocator(); geolocator.DesiredAccuracy = PositionAccuracy.High; geolocator.MovementThreshold = 100; // The units are meters. geolocator.StatusChanged += geolocator

Getting driving distance using Bing maps API programmatically

吃可爱长大的小学妹 提交于 2019-12-11 19:08:11
问题 I have been working with Bing API and it works perfect and outputs latitude and longditude very well // However I need the driving distance . . . I thought it should be result.getDrivingDistance ( System.out.println(result.getDrivingDistance); // There is no such a command // What should I do to get the distance from the response ? Is there any way of getting the driving distance? I have been reading documentation but was not able to find a method for this ? 回答1: Routes API. The Routes API is

Adequate Places API for travel app

好久不见. 提交于 2019-12-11 18:43:27
问题 I'm looking for a place API that can be used with a map API. Here are three APIs I've been thinking about: - Google Maps/Places: https://developers.google.com/maps/ - Microsoft Bing: https://www.microsoft.com/maps/developers/mapapps.aspx - Nokia Maps: http://api.maps.nokia.com/2.1.0/devguide/overview.html They seem to be likely to give good results. The application I'm going to work on is on travel information. So we would like to use the best API for finding sightseeing, accommodations,

How can i add description on pushpin on bing in the time of mouse over?

此生再无相见时 提交于 2019-12-11 17:31:38
问题 Please help me to add description on mouse over on push pin in bing map? Or please help me to call a function when the mouse is over through the push pin Thanks <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0"></script>

Value does not fall within the expected range GeoboundingBox WinRT

我是研究僧i 提交于 2019-12-11 17:12:52
问题 im trying to fit 2 pois on a bing map for WinRT Universal APP, commonly user position and any other point, so the user can see the map between two points, i have this code: private void centerMap(Geoposition pos, MapPoi pos2) { try { #if WINDOWS_APP //TODO PC Maps #elif WINDOWS_PHONE_APP GeoboundingBox geoboundingBox = new Windows.Devices.Geolocation.GeoboundingBox( new BasicGeoposition() { Latitude = pos.Coordinate.Latitude, Longitude = pos.Coordinate.Longitude }, new BasicGeoposition() {

Translate geo coordinates to address C# or jQuery

二次信任 提交于 2019-12-11 14:24:19
问题 In my jQuery code I can get user Geo coordinates. Now how can I translate GEO coordinates to an address either using C# or jQuery. 回答1: Try this using jQuery. Give Lat, Lng in text box and click GO. UPDATED <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Testing</title> <script src="scripts/jquery-1.9.1.min.js" type="text/javascript"></script> <script src="http:/

What jQuery map plugin allows specifying the color of the pushpins?

﹥>﹥吖頭↗ 提交于 2019-12-11 14:21:22
问题 I have used the goMap jQuery plugin for some easy and simple programmatic placing of pushpins on Google maps; I'm going to create a site, though, where various "categories" of places are shown simultaneously, and I want to differentiate them visually by making each group/category a different color. Is anybody aware of either how this can be done in goMap, or which jQuery plugin makes it possible? I'm not married to Google maps; Bing maps would be fine, too. 回答1: You don't really need a plugin

Metro Style App: JSON Object Deserialization Error, REST Services

大憨熊 提交于 2019-12-11 14:08:30
问题 Element ':item' contains data from a type that maps to the name "http://schemas.microsoft.com/search/local/ws/rest/v1:Route.' The deserializer has no knowledge of any type that maps to this name. Consider using a DataContractResolver or add the type corresponding to 'Route' to the list of known types - for example, by using KnownTypeAttribute attribute or by adding it to the list of known types passed to DataContractSerializer. After adding [DataContract(Namespace = "http://schemas.microsoft