Google Maps shows “For development purposes only”

Google Maps show the message “For development purposes only” when I try to show it in my webpage:

enter image description here

How could I make this message go away?

My code is like that:

<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
<script type="text/javascript">
  function initialize() {  
    var myLatlng = new google.maps.LatLng(50.5792659,8.6744471);
    var centerMap = new google.maps.LatLng(50.5792659,8.6744471);
    var div = document.getElementById('map');
  }
</script>

Then later I have

<p>
  <a
    href="https://www.google.com/maps/dir//50.5792659,8.6744471/@50.579266,8.674447,16z"
    target="_blank"
  >Route berechnen</a>
</p>

I don’t see where this message originates from.

12 Answers
12

Leave a Comment