Help us translate this website and improve this translation and earn free licenses!
Anonymous user  |  Log in  |  Create Account

GoogleMaps API Premier

Google offers the possibility of contract the Google Maps API premier (do not confuse with the googlemaps.subgurim.net CommercialKey)

More info of the Google Maps API premier here.

If you have it, you can use it in this control without any problems.

There are two ways of use. On one hand we have the property GoogleMapsApiPremier with which we can define the three basic properties:
  • Client: (essential) the identifier provided by Google.
  • PrivateKey: (essential) provided by Google
  • IsHTTPS: if we use the control in an Https environment. The default is false.
  • Sensor: necessary if your application has a sensor in the hardware that will beused to indicate the location of the device. It is useful in mobileapplications. The default is false.
Since only Client propertu is essential, we can configure it from theweb.config, so you never need to use the property GoogleMapsApiPremier.


web.config
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
    ...
    <appsettings>
        <add key="googlemaps_api_premier" value="Client">
        <add key="googlemaps_api_premier_privatekey" value="PrivateKey">
    </appsettings>
    ...
</configuration>
Powered by Subgurim.NET