i am trying to integrate bing map with heat map feature into my wpf desktop application, is there any API to do this? i searched the microsoft website and i can only found API for developing a map apps, which i think is different from what i want... any idea where should i start??
update: i think microsoft only provide the bing API for silverlight, and i found this one for WPF, but i dont know how to generate the heat map on this... can anyone point me to somewhere?
http://www.codeproject.com/KB/IP/BingMapsWebServiceExample.aspx
Maybe that 3rd party component from Telerik would be useful? If you can afford it, it will save you a lot of time.
http://www.telerik.com/products/wpf/map.aspx
It uses Bing maps and supports heat maps.
ArcGIS also offers a more flexible WPF control with heat maps, check the dev tools here
Related
I'm new to UWA development and Microsoft hadn't provided any documentation about this. I was just wondering if any one knows how to make multiple pushpins on a map cluster together if there are more of them close together?
There is no built-in feature to cluster pushpin in the Bing Maps SDK but you can easily do it on your own.
Here is a great example with full source code using MVVM.
https://havefuncoding.wordpress.com/2015/04/04/clustering-pushpin-and-mapicon-with-windows-8-1-and-windows-phone-8-1/
There's also a library on Codeplex which includes a clustering features
https://mapstoolbox.codeplex.com/wikipage?title=Bing%20Maps%20Clustering%20Functionality
For my university I have to create an application that for the User Interfaces paper that I'm doing. I want to create an application that focuses on Africa and allows the user to plot on the map some points of interest.
First thing first though, i need to be able to get the Google maps API working in a form. Does anyone have any idea how I would do this?
Google maps is based on JavaScript. You will need to embed the maps objects into the page and use it that way.
A good starting point would be http://code.google.com/apis/maps/index.html and the most basic of tutorials is available at http://code.google.com/apis/maps/documentation/javascript/tutorial.html#HelloWorld.
I would definatley recommend then links above and then move onto something like http://googlemap.codeplex.com/. It's better to know what's going on underneath before abstracting it away.
Alternatively, you may wish to check out GMap.net (the website is not GMap.net: http://greatmaps.codeplex.com/)
GMap.NET is great and Powerful, Free, cross platform, open source .NET
control. Enable use routing, geocoding and maps from Coogle, Yahoo!,
Bing, OpenStreetMap, ArcGIS, Pergo, SigPac, Yandex, Mapy.cz, Maps.lt,
iKarte.lv, NearMap, OviMap, CloudMade in Windows Forms & Presentation,
supports caching and runs on windows mobile!
I've used this before with WinForms and found it pretty handy. I suggest this because parts of Africa may be better served by different map vendors.
I'm currently developping a commercial Windows application (closed-source, free demo with limited functionality available) in .Net 4.0 using C# and WPF. I'm now looking for a map library with the following features:
World-wide online map and/or satellite data (Like Bing or Google Maps. Due to lack of coverage however, OpenStreetMap does not qualify)
Display of custom colored placemarks
Optionally: Possibility to easily add a simplified offline map, on a lower zoom level
Which mapping solution satisfy those requirements without violating any licenses of the map provider?
If you'd choose Bing, it is fairly simple. As I said, I haven't done it myself, but I've seen it on a demo. It should be something like:
<maps:Map Name="bingmap" Mode="AerialWithLabels" CredentialsProvider="enteryourkeyhere"/>
Where maps is the namespace: clr-namespace:Microsoft.Maps.MapControl;assembly=Microsoft.Maps.MapControl
Then, in code-behind:
GeoCoordinate co = new GeoCoordinate((double)myLatitude, (double)myLongitude);
bingmap.SetView(co, 18);
Courtesy goes to Kevin Derudder who did a great presentation (which is where I saw it). It was about Silverlight, but should be almost the same for WPF. Check out his blog post, with code sample.
Have you looked at NASA World Wind? They have a lot of developer information hosted on their website. It is JAVA based, but there are ways around that.
http://worldwind.arc.nasa.gov/java/
And being a Government Agency, I would image that their imagery is Free-Use.
ESRI website Developer Tools Product Page
You may have to go commercial. If so, also look at Thinkgeo Mapsuite.
This is excellent, I guess it will have more than you need:
Great Maps for Windows Forms & Presentation
Just download code and check out the demo!
Can you suggest some good Bing Map or Google Map control for ASP.net Webforms.
I have searched a lot on google and found few on codeplex but they perhaps are not stable.
Can any one of you suggest some good control whihc u have used earlier.
Thanks in advance
You could easily create you own control for this. Both google and bing have JavaScript API's
I have used this google one before though (without a problem) http://googlemap.codeplex.com/documentation
How to show google maps in mobile application using .net2.0
A very simple approach is to use the Google Maps Static API, a HttpWebRequest and Image.Save to download an image of the map, e.g. "http://maps.google.com/staticmap?zoom=14&size=512x512&mapt
ype=mobile&markers=40.714728,-73.998672&key=YOUR-GOOGLE-MAPS-API-KEY" which can be shown in a PictureBox.
Regards,
tamberg
Late to the party, but you might find this helpful as well:
http://www.koushikdutta.com/2008/07/virtual-earth-and-google-maps-tiled-map.html
Should give you a bit more flexibility (zooming, moving around, etc... ) than the static maps API.
Do the maps absolutly have to be from Google? I was writing an application that made use of Live Maps to display maps on a Compact Framework application. When I wrote the app I used the 3.5 framework though, so I am not sure whether or not this will fit your needs.
http://www.codeproject.com/KB/mobile/WiMoWifiPosition.aspx
There is various controls available to integrate Google Maps into an ASP.net website. Since the Sockets and Net libraries are available on Windows Mobile, you could possibly integrate using the Google Maps API, however will have to build your own controls to display the maps. The API can be found here.