Hello,
Are the GoogleOverlay parameters used while requesting Google?
I'm trying a very simple code using a GoogleOverlay and setting ClientId, PrivateKey and another specific parameter named "channel".
When I check the requests sent to Google (using fiddler), it appears that any parameter is added to the Static maps request.
Here is the source code :
private void map1_Loaded(object sender, RoutedEventArgs e)
{
map1.MapUnit = ThinkGeo.MapSuite.SilverlightCore.GeographyUnit.Meter;
GoogleOverlay google = new GoogleOverlay();
google.GoogleMapType = GoogleMapType.Satellite;
google.Parameters.Add("channel", "*****");
google.ClientId = "*****";
google.PrivateKey = "*****";
map1.Overlays.Add(google);
map1.CurrentExtent = new RectangleShape(-13939426.6371, 6701997.4056, -7812401.86, 2626987.386962);
map1.Refresh();
}
Here is an example of the corresponding requests sent to Google.
maps.google.com/maps/api/staticmap?center=49.447245,-122.913909&zoom=4&size=256x256&maptype=satellite&format=png8&key=&sensor=false
Thank you
Nicolas