Getting Started‎ > ‎

Google Maps API Key

To use JxMaps you must get a Google Maps API key and configure the library using the following code:

MapViewOptions options = new MapViewOptions();
options.setApiKey("your_key");
MapView view = new MapView(options);


The API key is used to track API requests associated with your project for usage and billing. To learn more about Google Maps API keys, see https://developers.google.com/maps/documentation/javascript/get-api-key.


Important

JxMaps allows using Google Maps without the API key, but since June 2018 Google Maps greyed out and covered with a watermark if you don’t provide the key. So, we strongly recommend that you always configure JxMaps with your API key.