ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This guide helps you to create a google maps key and apply it in Map Suite.
Google offers two types of API plans. One is Standard Google Static Maps API, the other one is Google Maps APIs Premium Plan License. Each of them have two usages to make the https requests. This article will mainly cover Google Static Maps API.
standard google static maps api
: you can either use API key or use API key and Signature to make the https requests.
google maps apis premium plan license
: you can either use API key and Signature or ClientId and Signature to make the https requests.
Read more details about how to get a key.
You can read more about how to get ClientId and PrivateKey or how to get Signature.
The GoogleMapsOverlay will work after assigning your Google Maps ClientId and PrivateKey to the properties GoogleMapsOverlay.ClientId and GoogleMapsOverlay.PrivateKey. Here below is how to do that in a sample.
// Create a GoogleMapsOverlay and add it to wpfMap1 GoogleMapsOverlay googleMapsOverlay = new GoogleMapsOverlay(); googleMapsOverlay.MapType = GoogleMapsMapType.Satellite; googleMapsOverlay.ClientId = "Place Google Maps ClientId Here"; googleMapsOverlay.PrivateKey = "Place Google Maps PrivateKey Here"; wpfMap1.Overlays.Add(googleMapsOverlay);