Enterprise Framework

Software Solutions in the Enterprise

Add Google Maps and restrict to specific urls

Goto:  https://console.developers.google.com/apis/dashboard

Choose your domain from the top navigation dropdown

Then

Goto:  https://console.developers.google.com/apis/library

Choose your domain from the top navigation dropdown

Not all these API are required, I just added few more for helpfulness

Enable the following:

  • Maps Javascript API
  • Maps Embed API
  • Directions API
  • Places API
  • Geocoding API
  • Geolocation API

Choose Restrictions

Choose Referers

Enter the urls:

localhost/*
*.yourwebsite.com/*
yourwebsite.com/*
yourwebsite.azurewebsites.net/*

Comments are closed