/voronoi-places

Primary LanguageJavaScriptMIT LicenseMIT

Files:

  • index.html: basic HTML. Styled for responsiveness and optimized for iframe usage
  • main.js: Where the magic happens. Heavily commented because this stuff gets confusing.

Description of Infrastructure:

  • GCP Project "Voronoi Places"
    • JS Maps API Enabled
    • Places API Enabled
    • Geocoder API Enabled
    • API domain restriction set to prevent usage outside of my use
  • GCP org level
    • Billing auto emails me when budget exceeded, but does not turn off API
    • API quotas set:
      • 10000 requests daily
      • 100 requests per 100 seconds, user agnostic
      • 100 requests per 100 seconds, per user
  • Hosted on GCP Storage
  • JS Modules must be served. python3 -m http.server 8000 ran in directory is easiest.

Resources