Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

embed google map in wpf control

I am trying to create a wpf control that will display a map image using google maps. I want to be able to centre the map on a longitude and latitude specified by the application. Ideally, the control will then allow the user to move a map marker and store the latitude/longitude of the marker in the application.

The only way I can think of doing this is to use a WebBrowser control and create a HTML string at runtime that shows a map of the desired location. This seems like an awkward solution and won't allow me to easily retrieve the marker location. Does anyone know of a better way to accomplish this?

like image 755
Dave Turvey Avatar asked May 02 '26 10:05

Dave Turvey


1 Answers

Hosting Google Maps in a Microsoft WPF application using XAML http://code.google.com/apis/maps/articles/flashmapinwpf.html