so-widgets-bundle icon indicating copy to clipboard operation
so-widgets-bundle copied to clipboard

Google Maps: Detect if required API is enabled and alert the user

Open AlexGStapleton opened this issue 6 years ago • 0 comments

Recent changes to the Google Maps widget now allows us to validate which API libraries are enabled for the user-supplied API key. We should check for the required libraries and, if possible, conditionally check for optional libraries based on the users SiteOrigin Google Maps settings.

The following API libraries are required:

  • Maps JavaScript API
  • Geocoding API
  • Places API

These are optional:

  • Maps Static API
  • Directions API

AlexGStapleton avatar Mar 26 '19 17:03 AlexGStapleton