bing-maps

Maps with Windows Forms application

半城伤御伤魂 提交于 2019-12-04 03:21:19
I am building a C#/Winforms application that requires a map (a la Google maps, Bing maps etc.). But I am terribly confused by the ToU (licensing) - non-commercial use etc. My questions: What mapping provider would you suggest (preferably free) to embed with a winforms application, for commercial purposes. What mapping provider would you recommend if the app is "offline" i.e. cannot get tiles from a mapping server. Google Earth seemed quite promising until I read in the ToU of non-commercial use only clause, would you know if that is waivable through purchase of a license? Any commercial

Silverlight - Add Pushpin to Bing Maps via C#

牧云@^-^@ 提交于 2019-12-04 01:43:42
I'm getting started with the Silverlight Bing Maps control. How do I add a Pushpin to a map programmatically with C#? Thank you! Unknown, Here is a step-by-step post for building a Silverlight app that displays a Bing map of the US, and adds a pushpin at each clicked location. And just for fun I added some "hover" functionality when you browse over the pushpins. Step 1 : Create a sample Silverlight application with Visual Studio (File / New Project / Silverlight Application) Step 2 : Add the two Bing DLL references to the Silverlight application project Folder: C:\Program Files\Bing Maps

Bingmap integration in Angular 6 using angular-map package

浪子不回头ぞ 提交于 2019-12-03 22:22:28
i am trying to implement bingmap in angular 6 using "angular-map" npm packages for that i have refer also referred problem statement: not created "bingmaps" folder in node_modules app.module.ts /// <reference path="node_modules/bingmaps/types/MicrosoftMaps/Microsoft.Maps.All.d.ts" /> import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { MapModule, MapAPILoader, BingMapAPILoaderConfig, BingMapAPILoader, WindowRef, DocumentRef, MapServiceFactory, BingMapServiceFactory } from "angular-maps"; import { AppComponent } from './app.component';

Convert address to coordinates

元气小坏坏 提交于 2019-12-03 17:15:41
There is a way to convert address to coordinates with bing maps? Thank The process of going from addresses to lat/lng coordinates is normally called Geocoding This blog post has some good example code for WP7 using Bing - http://www.braincastexception.com/wp7-web-services-first-part-geocodeservice/ You can use Locations API . 来源: https://stackoverflow.com/questions/5529135/convert-address-to-coordinates

Using Sql Spatial Data (C#) to find the “visual” center of irregular polygons

…衆ロ難τιáo~ 提交于 2019-12-03 05:43:49
I'm drawing regions (using SqlGeometry / SqlGeography and translating them to the WPF LocationCollection equivalent) on the Bing Maps WPF Control and needed to label them. I got the labels drawn on the regions and attached them to the point found by STCentroid() . Of course as you imagine this is a problem with the 'U' or 'C' shaped regions where the centroid ends up outside the region, which makes the label incorrect. Is there a way using SqlGeometry / SqlGeography to find the "visual" center or perhaps find the largest circle that can fit in the shape and use that center? I've tried various

Map APIs for windows PHONE 8.1 in HTML, CSS, JS

情到浓时终转凉″ 提交于 2019-12-02 10:38:26
I am aware there is a similar question ( Map APIs not working for windows phone in HTML ), but I don't have enough reputation to comment so I am having to ask my own question. I have successfully added bing maps to my windows 8.1 store app (HTML, JS, CSS), but when trying to add the reference in visual studio (the maps SDK) to windows phone 8.1 the option isnt available to me. I went through the answer to the question asked previously and in the examples there is a windows store app (fine!), a mobile web app and a C# example. So I tried the mobile web version but just adding this link <script

How do I eliminate rogue “counters” on my Windows Store main page?

我的梦境 提交于 2019-12-02 09:38:13
问题 I have a minimalistic main page - 4 buttons and a Bing Map. When I run the app, though, I see two rogue "counters" (don't know how else to describe them) in the upper left and upper right. Here's the one on the upper left: What's causing them, and how can I get rid of them? BTW, the black vertical strip on the left is "as designed" (no pun intended) - below the "counter" are my four buttons, stacked vertically (I deliberately gave the Bing Map only 80% of the page, not the 100% it greedily

facebbok sdk Integrate interactive map in a post like Foursquare

泪湿孤枕 提交于 2019-12-02 09:22:05
问题 I saw that when I publish to Facebook from Foursquare then you can click on the static image of the map and opens a window in Facebook with interactive map. (btw, bing logo showing on the interactive map) how can i achieve that? this is the post: this is after clicking the map: 回答1: Simple Feed To publish a location you can use the place parameter in the /user-id/feed API. The place parameter be the page-id of that place. For eg: If I want to publish a location: Gurgaon- \POST /me/feed place:

How should I handle click events on pushpins in my Bing Maps control for WP7

泪湿孤枕 提交于 2019-12-02 08:36:52
问题 I'm about to add templated <Button> controls inside each of my Pushpins on my Map, in order to interact with the user clicking (er, touching) a pushpin. Is this the proper way to work with pushpins? I don't want to handle MouseDown and MouseUp and reinvent everything (and nobody should). I just need confirmation. 回答1: Why dont you add an Invisible styled button inside the MapItemsControl.ItemTemplate and use Click on the button. 回答2: MouseLeftBUttonUp ? I have only the emulator and it works

windows phone 8 old map vs new map

二次信任 提交于 2019-12-02 06:40:35
问题 I have a two WP8 projects. This is projects with map. First project with new Nokia maps and second project with old Bing maps . I noticed inappropriate behavior of old maps. They consume large amounts of memory, and when I go away from the maps then the memory is not freed. In WP7 Bing maps behave differently, it spent as much RAM memory, but when I go away from the map, the memory is immediately freed. How can I return the memory, I have a big problem with old maps, I exceed the limit of 90