bing-maps

embed bing maps - pushpin

允我心安 提交于 2021-02-19 16:19:56
问题 I am trying to embed bing maps into web page and it works, but I want to show pushpin in embeded map on web page. As I can see it is not possible. Does anyone know how to do this? <div id="mapviewer"><iframe id="map" scrolling="no" width="500" height="400" frameborder="0" src="http://www.bing.com/maps/embed/?v=2&cp=45.810280~15.957222&lvl=4&dir=0&sty=r&cid=AF2FECA12C1AA81D!196&form=LMLTEW&emid=8841ff8b-025d-e5a7-e37f-39b4d31b3b93"></iframe><div id="LME_maplinks" style="line-height:20px;"><a

How can I retrieve Latitude and Longitude of a postal address using Bing Maps?

故事扮演 提交于 2021-02-18 22:22:09
问题 I want to be able to retrieve the geographical coordinates (latitude and longitude) for a given address. I'm hoping I can do that if I have the full address (street address + city + state + zip). If it matters, I am using Bing Maps. The skeleton code I've got is this (fullAddress, AddPushpin(), and getGeoCordsForAddress() are the most pertinent parts): private void btnSave_Click(object sender, EventArgs e) { string fullAddress = string.Empty; if (MissingValues()) return; mapName = cmbxMapName

Google maps - find cities close to my route

人盡茶涼 提交于 2021-02-18 07:34:43
问题 I would like to get a list of all cities I might pass on my way between point A and point B Input - point A as origin point B as destination Output: Route between point A and point B (that's obvious) AND list of cities / towns / places that are closer than X miles to my route. I would like to present the user a list of possible waypoints to consider (points of interest, historic sites, parks, etc) Any ideas how to do that? 回答1: I believe you'd need to do this in a two-stage process: The first

Google maps - find cities close to my route

邮差的信 提交于 2021-02-18 07:34:32
问题 I would like to get a list of all cities I might pass on my way between point A and point B Input - point A as origin point B as destination Output: Route between point A and point B (that's obvious) AND list of cities / towns / places that are closer than X miles to my route. I would like to present the user a list of possible waypoints to consider (points of interest, historic sites, parks, etc) Any ideas how to do that? 回答1: I believe you'd need to do this in a two-stage process: The first

How to get lat/lon of a mouse click with Bing Maps AJAX Control v7

我只是一个虾纸丫 提交于 2021-02-18 05:15:40
问题 I am using th newest version of the API (v7), and would like to add a pushpin on mouse-click ... var mapSettings = { 'credentials': 'myCredentials', 'mapTypeId': Microsoft.Maps.MapTypeId.road, 'enableSearchLogo': false, 'showMapTypeSelector': false, 'showScalebar': false }; var $map = $('#map'); var map = new Microsoft.Maps.Map($map.get(0), mapSettings); Microsoft.Maps.Events.addHandler(map, 'click', function (e) { var latitude = ? var longitude = ? var location = new Microsoft.Maps.Location

How to get lat/lon of a mouse click with Bing Maps AJAX Control v7

瘦欲@ 提交于 2021-02-18 05:15:22
问题 I am using th newest version of the API (v7), and would like to add a pushpin on mouse-click ... var mapSettings = { 'credentials': 'myCredentials', 'mapTypeId': Microsoft.Maps.MapTypeId.road, 'enableSearchLogo': false, 'showMapTypeSelector': false, 'showScalebar': false }; var $map = $('#map'); var map = new Microsoft.Maps.Map($map.get(0), mapSettings); Microsoft.Maps.Events.addHandler(map, 'click', function (e) { var latitude = ? var longitude = ? var location = new Microsoft.Maps.Location

How to get lat/lon of a mouse click with Bing Maps AJAX Control v7

自作多情 提交于 2021-02-18 05:15:14
问题 I am using th newest version of the API (v7), and would like to add a pushpin on mouse-click ... var mapSettings = { 'credentials': 'myCredentials', 'mapTypeId': Microsoft.Maps.MapTypeId.road, 'enableSearchLogo': false, 'showMapTypeSelector': false, 'showScalebar': false }; var $map = $('#map'); var map = new Microsoft.Maps.Map($map.get(0), mapSettings); Microsoft.Maps.Events.addHandler(map, 'click', function (e) { var latitude = ? var longitude = ? var location = new Microsoft.Maps.Location

How can I add a Bing Maps Component to my C# Winforms app?

两盒软妹~` 提交于 2021-02-13 17:26:23
问题 I have downloaded, installed, and referenced the Bing Maps control in my Winforms app: ...and I added the following using to Form1.cs: using Microsoft.Maps.MapControl; ...but I still have no Bing Maps control in my Toolbox. I realize this is a WPF control, and I'm using Winforms, but my understanding is that the WPF control can be used in a Winforms app. My question is: How can I make the Bing Maps control visible in the Toolbox OR create the Bing Maps control in code? It probably doesn't

How can I add a Bing Maps Component to my C# Winforms app?

早过忘川 提交于 2021-02-13 17:24:11
问题 I have downloaded, installed, and referenced the Bing Maps control in my Winforms app: ...and I added the following using to Form1.cs: using Microsoft.Maps.MapControl; ...but I still have no Bing Maps control in my Toolbox. I realize this is a WPF control, and I'm using Winforms, but my understanding is that the WPF control can be used in a Winforms app. My question is: How can I make the Bing Maps control visible in the Toolbox OR create the Bing Maps control in code? It probably doesn't

Did Xamarin forms supports Bing maps insted of Google map native control?

十年热恋 提交于 2021-02-10 17:53:51
问题 We have an requirement for showing Bing maps view in Xamarin forms app for Android and iOS both. We have done the integration of Google maps for both platforms with the help of https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/map#Using_Xaml and https://github.com/amay077/Xamarin.Forms.GoogleMaps. I neither found any documentation that Bing maps supported on Android and iOS nor any thing says it did not support. So How can I get documentation to integrate Bing maps in my