

In this case, you can either check your key once again or try to remove the key from the settings (saving it with an empty field). The reason probably is, that the API key you entered is wrong. This is another common error when you're not able to see the preview in the index.html file. In this case, you most likely haven't saved your Google Maps API key correctly in the settings and it's probably still empty. It may happen that instead of getting the preview you get this message box. "This page can't load Google Maps correctly." You'll see the same preview by opening the googlemaps.html in your're browser.ġ. By opening the index.html in your browser and navigating to Google Maps API -> Preview, you'll see your rendering output placed over the Google map. If not, or if you want to change the position, select Assign location visually or your preferred method. In the output folder, you can see files index.html and googlemaps.html (except for others). Overlay an image over the map Simple vector tiles generating Visually geolocate If your image is already geolocated, coordinates load automatically. Render your project using the "Folder with tiles" option for the output format On the General tab of the Global Settings dialog (File->Settings), paste your key in the Google Maps API key field and click save.Ģ. Make sure your API key is saved in the application settings When you use "Folder with tiles" for the output, the preview is generated for you automatically. One of the possibilities of presenting your data rendered in MapTiler Engine is using Google Map as the basemap for your output.

Using Google Maps with API key in MapTiler Engine Once you have your project set up, you can create your API key by following these steps. You must have at least one API key associated with your project.
Add overlay from maptiler to google maps api how to#
You can read how to set it up in the Google guide. To work with Google Maps JavaScript API, you need a project with a billing account. Any API calls without providing a proper key are considered unauthorized and restricted. It comes in form of an alphanumeric string associating your account with your project and a specific API or SDK. rendering can be used in a google map overlay to render vector tiles on a google map. It is used to secure Google Maps products from unauthorized use. You will need three pieces of data to add the Chloropleth map. It is a unique identifier that authenticates requests associated with your project for usage and billing purposes. The Google Maps API key basically works as your credentials when working with Google Maps API. We'll also take a look at how to solve the most common troubles you may possibly run into. This article will show you where to get your Google Maps API key and how to use it within your MapTiler Engine project.
