Google Maps error not loading

Topic summary

A developer is building a store locator app using Shopify CLI and encountering issues with Google Maps integration in a theme extension (star_rating.liquid).

The Problem:

  • Google Maps is not rendering on the customize page
  • Following Google’s documentation and example code
  • API key appears to be correct

Current Status:

  • Code has been shared for review
  • Seeking guidance or resources on integrating Google Maps into a Shopify theme extension
  • No responses or solutions provided yet

The discussion remains open with the developer awaiting assistance on this technical integration issue.

Summarized with AI on November 5. AI used: claude-sonnet-4-5-20250929.

Hey there, I’m currently working on creating a store locator app using Shopify CLI and have added the extension. I’m specifically working on the extension part the star rating default. However, I’m encountering difficulties when trying to integrate Google Maps using JavaScript (star_rating.liquid). Despite using the example provided in the Google documentation and ensuring that my API is correct, the map is not rendering on the customize page. Do you know of a good guide that can help me with integrating Google Maps into a theme extension? I have attached my code.Thank you!