Add your API key
Latest Google Maps API’s requires personal API key for each published app. You have to generate your API key and use it in the template to get your Google Maps templates working. More information is available at Google Maps API pages and you can get your key in Google Developers Console. If you don’t have your key set you can see an error message like that:
This message can also appear in older versions of MapTiler as they also use Google Maps API for viewing maps. In such cases upgrade your MapTiler to the latest version from Download section.
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap" async defer> </script>
Set your key in MapTiler
From MapTiler 7.0 on, we added a field for this key to MapTiler’s settings. MapTiler will automatically add this key to pre-generated templates with Google Maps API to save your time and effort.