I notice that there is no GoogleOverlay example for WPF Edition. It would be nice if this was included in the sample application.
WPF GoogleOverlay Example
Daniel,
We have GoogleMapsOverlay and it's simple to use, please try the code below. And this sample is on our schedule.private void WpfMap_Loaded(object sender, RoutedEventArgs e)
{
Map1.MapUnit = GeographyUnit.Meter;
// Please see the custructor of this class and specify your client id and private key
// GoogleMapsOverlay googleOverlay = new GoogleMapsOverlay(clientId, privateKey);
GoogleMapsOverlay googleOverlay = new GoogleMapsOverlay();
Map1.Overlays.Add(googleOverlay);
Map1.CurrentExtent = new RectangleShape(-13939426.6371, 6701997.4056, -7812401.86, 2626987.386962);
Map1.Refresh();
}
Thanks and let us know if you have any more queries.
Howard
I went to Google and got a private key but it looks like the client id is only for Google Premier customers. Is that your understanding and if so what do I put in the client id argument? Thanks.
Daniel,
Google has an article that indicates the ClientID; they need to work together. Google says: "When registering for Google Maps API Premier, you will receive this client ID from Google Enterprise Support". Here is the address for the article, please check it out.
code.google.com/apis/maps/do...tml#Signup
Just let me know if you have more queries.
Thanks,
Howard