bing-maps

Maps for China - which is correct, Satellite or default street map ? does that mean geocoding results are wrong?

我只是一个虾纸丫 提交于 2019-12-07 07:05:30
问题 So it is known that the maps, either the regular street map or the satellite map, does not line up correctly in specific parts of China. So which map lines up correctly, the satellite map or the default street map? Some sites suggest that the satellite map is correct. But the Google Geocoder is placing locations correctly on the google street map and not on the satellite map. So if the satellite map is considered to be correctly aligned with China, does that mean that the Google Geocoder is

What is a reasonly priced map API solution for a startup?

烂漫一生 提交于 2019-12-07 05:49:32
问题 I've been developing my application with Google Maps and the wonderful rails plugin for it, expecting to find that when I put my app into production that the commercial licensing wouldn't be too expensive. Then I found out it cost $10,000/year, no exceptions so far. http://www.47hats.com/2009/07/google-maps-the-10k-gotcha/ That's not a terrible price to pay for unlimited usage when your site becomes successful, but for those of us trying to build something from the ground up, that's a hefty

draggable pushpin windows phone 7 bing maps control

情到浓时终转凉″ 提交于 2019-12-07 03:45:27
问题 Just wondering if there are any decent resources on how to program a draggable pushpin for a map in a windows phone 7 application. I've had a good look and can only find information about how to do it for a browser application. Ideally I want the user to be able to click on a pushpin and drag it to a location on the map however, at the minute the only way I can think of doing this is for the user to drag the map and the pushpin remains at the centre of the map. 回答1: I've not seen this done on

Virtual Earth / Bing Maps - How To Calculate Best Zoom Level

左心房为你撑大大i 提交于 2019-12-06 15:52:17
I'm working on some map stuff and I'm stuck with something that seems to be quite basic. The gist of what I'm doing is adding 10 flags to a map, and I need to dynamically set the zoom level and center of the map based on the position of the pins (map needs to be zoomed in as far as possible while still showing all pins). This works exactly as expected with MultiMap without any intervention (as expected), but the Virtual Earth map doesn't play nice. If I don't give it a center Lat/Lon, it defaults to showing all of the USA. Can anyone point me in the right direction in order to get this working

Add Bing Map Autosuggest API to multiple fields in a form

痞子三分冷 提交于 2019-12-06 15:46:59
I wish to add the Bing Maps Autosuggest API to two fields in my form. When I execute the code, the autosuggest API works just for one field and not the other. Below is what I got so far : <script type='text/javascript'> function loadMapScenario() { Microsoft.Maps.loadModule('Microsoft.Maps.AutoSuggest', { callback: onLoad, errorCallback: onError }); function onLoad() { var options = { maxResults: 8 }; var manager = new Microsoft.Maps.AutosuggestManager(options); manager.attachAutosuggest('#searchBox', '#searchBoxContainer', selectedSuggestion); manager.attachAutosuggest('#searchBoxPlaceBirth',

how to draw path or line two pushpins in bing map?

我的未来我决定 提交于 2019-12-06 15:33:23
Hi I want draw line or paths between two pushpins in bing map using Javascript SDK. This is a google map example I want similar like this. Here you go, you need to have your bing map credentials. <!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> <script type="text/javascript"> var map = null; function GetMap() { //

Google maps or Bing maps API?

人盡茶涼 提交于 2019-12-06 14:35:55
I'm trying to figure out what to use for my web application. I"m currently using Google maps api, however I have started looking at Bing maps api more. This application among other things, gives directions to where you have to go. The reason I'm thinking about going to Bing is that Google has gotten some addresses wrong (probably about 10%) and Bing has gotten 0 wrong so far. Does anyone know if one is more accurate than the other (other than me just performing my non scientific test on both). Also, I want to do other things in the future, like cluster pins. I know google maps can do that, but

SqlGeography.STIntersection() returns even when I know there is no intersection

戏子无情 提交于 2019-12-06 13:06:00
A little about the application; The application allows the user to draw and save polygons onto bing maps WPF api. The piece of code we are interested in is finding weather a point is whithin the polygon or not. The following function simply loops through the LocationCollection of the polygon on the bing map, and creates a SqlGeography object (OpenGisGeographyType.Polygon) which is an instance of a polygon. We then convert the mouse click into SqlGeography object (OpenGisGeographyType.Point) by latitude and longitude and use the SqlGeography.STIntersection to find if our point lies within the

how to draw driving route path using two point latitude and longitude

谁说我不能喝 提交于 2019-12-06 11:51:34
i need know how to draw driving route between two locations(pushpin) using latitude and longitude in this locations.i know how to draw two locations driving route using location names.need use latitude and longitude for this. is it possible ? (in bing map ) Yeah, it's possible. Try the below code <!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

Zoom to show all locations in bing maps

回眸只為那壹抹淺笑 提交于 2019-12-06 10:25:20
问题 Say I have 3 pushpins: (1) California, (2) Florida, (3) New York. In order for all the 3 of them to be visible, I'd have to zoom out far enough to pretty much see the whole country. But say instead of that I had (1) California, (2) Nevada, (3) Texas. I'd have to zoom out only to cover the south west corner of the US. Is there any function in the bing maps for Windows Phone 7 API that helps me with this. Basically, I want to zoom out just enough to see a set of locations. Thanks! 回答1: Yes. it