bing-maps

Bing map integration in Angular 5

左心房为你撑大大i 提交于 2019-12-24 15:33:39
问题 I tried to implement bing map in angular 4. I used angular-map package but it throws Microsoft reference issue. Please see the below code and share the example import { Component,OnInit, ViewChild } from '@angular/core'; import { BingMapsLoader } from '../../shared/services/map-loader-service'; @Component({ selector: 'pm-map', template: ` <app-bing-map *ngIf='mapReady'></app-bing-map>` }) export class DeviceMapComponent implements OnInit{ mapReady = false; constructor() { BingMapsLoader.load(

WP7 updating bing map as you scroll along

一曲冷凌霜 提交于 2019-12-24 10:36:26
问题 I use an iphone app which displays points on a map from an api depending on the maps location, when you move the map, the map updates and re-queries the api after a couple of seconds. How would I achieve this 'detect map centre change' on bing maps and WP7? Many thanks. Dan 回答1: The Bing Maps control exposes ViewChangeStart and ViewChangeEnd which can be used to detect the start and end of a change in view. You can subscribe to these events, get the current view and query your API accordingly

Multiple Custom Markers with Bing Maps API

六眼飞鱼酱① 提交于 2019-12-24 06:41:53
问题 I've got the code to add multiple markers with infoboxes with Bing Maps API, currently using default pin markers. I know there's documentation on adding a custom marker but I'm looking to use a different custom image marker for each point. Managed to implement with Google Maps API but need to use Bing maps and stuck with this one. Any help appreciated, thanks! <script> var pinInfobox; function GetMap() { var pushpinInfos = []; pushpinInfos[0] = { 'lat': 42.0076215, 'lng': 20.9689308, 'title':

Bing map - highlight country with a polygon on hover

时光怂恿深爱的人放手 提交于 2019-12-24 02:25:21
问题 I'm using silverlight Bing map control and I want to highlight country / continent after hovering it with mouse cursor. Is there a better way of doing this than just providing coordinates for a polygon ? It's a looot of work if I would like to highlight all countries in the world. I think there should be some sort of ready solution, but I wasn't able to find one. 回答1: No, there is no way to highlight a country other than providing your own data - either in the form of coordinates to create a

Using Bing Maps Android SDK as a library

心已入冬 提交于 2019-12-24 00:56:09
问题 I am going to implement an in-application maps in my Android application, so my first thought was: Google Maps . However it does not support caching - if user closes application, all loaded maps are deleted. Then I found Bing Maps which supports caching. There is Bing Maps Android SDK , but it is delivered as a whole Android application. I do not know at all how to use it. Are there any tutorials, examples, etc showing how to use it with custom application as a build-in activity ? 回答1: The

Free Silverlight mapping with Bing maps and OpenStreetMap?

余生颓废 提交于 2019-12-23 20:12:55
问题 I recently read this article. Which uses the Silverlight Bing maps control to display map data from OpenStreetMap. In this article he extends MapCore and develops a true OpenStreetMap control which no longer requires you to use the Bing API key. My question is simple. Does this solution constitute free Silverlight mapping for commercial projects or does the use of the Bing map control itself require licensing? Thanks in advance. 回答1: Following excerpted from the Microsoft Bing Maps Terms of

Bing maps is undefined after loading their javascript file

泪湿孤枕 提交于 2019-12-23 19:43:14
问题 I am loading the Bing Map API script dynamically. When the script finishes loading, I would like to construct my map. The problem is Microsoft and Microsoft.Maps are defined, but Microsoft.Maps.Map is not. I realize that their script will asynchronously load more scripts, but even after waiting 10 seconds for these additional hypothetical scripts, Microsoft.Maps.Map continues to be undefined. So how do I load their Map class? I see nothing in their example, that explicitly loads the class.

Manifest references file 'Bing.Maps.dll' which is not part of the payload

送分小仙女□ 提交于 2019-12-23 16:15:47
问题 Error 1 Manifest references file 'Bing.Maps.dll' which is not part of the payload. C:\Users\xxx\Desktop\xxx\Applicationxx\Applicationxx\Package.appxmanifest Application7 I added this into a existing Metro application and its giving me that error, anyone has solution to it? 回答1: Go to the properties of the project and under Build, you will see Platform Target. Choose either x64 or x86 instead of Any CPU and it should be solved. ~Guo Hong 回答2: To correctly reference Bing Maps for a Metro app...

Bing Maps Runtime Error Windows 8.1

人走茶凉 提交于 2019-12-23 15:15:55
问题 When I run the app of Windows 8.1 with Bing Map integration, I get following error. An exception of type 'Windows.UI.Xaml.Markup.XamlParseException' occurred in DistanceApp.exe but was not handled in user code WinRT information: Cannot deserialize XBF metadata type list as 'Map' was not found in namespace 'Bing.Maps'. [Line: 0 Position: 0] Additional information: The text associated with this error code could not be found. Cannot deserialize XBF metadata type list as 'Map' was not found in

How to integrate Microsoft Bing Map Navigation functionality to iPhone application?

落花浮王杯 提交于 2019-12-23 07:23:05
问题 I have studied about Microsoft Bing Map Navigation. There is iOS support and sdk available at http://www.microsoft.com/maps/developers/mobile.aspx Can anyone guide me how to use this in my application? My requirement is to create an application having functionality like Google Navigator does, displaying direction using GPS. 回答1: this project might be a good starting point for what you are looking for: https://github.com/route-me/route-me 回答2: You cannot create a turn-by-turn navigation