Implementing Google Maps Javascript API to webpage

Hello,
I am implementing this Google Map with custom markers to my website: Add a Google Map with a Marker using JavaScript  |  Maps JavaScript API  |  Google for Developers
I am adding the Javascript as custom source code with my map ID and API key but it’s not rendering a map. Is there a more sophisticated way to implement a map with custom markers? Would be grateful for any insight. Thanks!
Roni

Hey, @Roni! Thanks for your question. Do you have a link to a test page where the community can view how it’s appearing? I have a few additional questions to help give our community more information:

  • Have you checked your browser’s developer console for any errors or warnings?
  • Can you create a blank page and try to embed it there? As a really simple test? If it displays as expected on your test page, there may be other issues causing it to not render correctly.
  • Is your code added to a module? Looking at the example from the documentation, the script goes at the bottom of your HTML and you need a placeholder div for the map to render into. This is where seeing a live example is very helpful for our community

Thank you for the additional information! — Jaycee

Thanks for your input, my code is added to a module in the form of Insert >> Source Code. Is there a way to have a “blank” page independent of my theme?
I will share a published link as soon as I’m able to.

Hi there,

Hopefully, you already found a solution. But if not, we are excited to introduce our two powerful HubSpot Store Locator Modules on Google Maps :globe_showing_europe_africa::round_pushpin:

:round_pushpin: Store Locator on Google Maps

:globe_with_meridians: Store Locator on Google Maps with Radius search

  • Organize your store locations or services on Google Maps by category.

  • The innovative search feature with a radius helps users find nearby locations quickly.

  • Refine their search by category to receive highly targeted results.

  • One-time subscription fee, no recurring monthly payments.

  • Optional integration with HubDB is available for an extra setup fee.

  • Google maps API needed

  • Also available for purchase on the HubSpot Marketplace: Store Locator on Google Maps with Radius.
    https://ecosystem.hubspot.com/marketplace/modules/store-locator-google-maps-with-radius-module-by-leadstreet

Both modules will enhance your website and make it easier than ever for your customers to find your store locations or services on Google Maps.

Feel free to discover our new Store Locator Modules on Google Maps and reach out to our expert, Diego, for a personalized 15-minute demo. Click here to book your session. https://www.leadstreet.be/meetings/diegoreilleraguiar/book-a-15-min-hubspot-module-demo-with-diego-clone
or contact our support team Support Landing Page

Kind Regards,

Hilde, Team leadstreet

Hi there,

It seems like you found a solution. But anyway, we are excited to introduce our two powerful HubSpot Store Locator Modules on Google Maps :globe_showing_europe_africa::round_pushpin:

:round_pushpin: Store Locator on Google Maps

:globe_with_meridians: Store Locator on Google Maps with Radius search

  • Organize your store locations or services on Google Maps by category.

  • The innovative search feature with a radius helps users find nearby locations quickly.

  • Refine their search by category to receive highly targeted results.

  • One-time subscription fee, no recurring monthly payments.

  • Optional integration with HubDB is available for an extra setup fee.

  • Google maps API needed

  • Also available for purchase on the HubSpot Marketplace: Store Locator on Google Maps with Radius.
    https://ecosystem.hubspot.com/marketplace/modules/store-locator-google-maps-with-radius-module-by-leadstreet

Both modules will enhance your website and make it easier than ever for your customers to find your store locations or services on Google Maps.

Feel free to discover our new Store Locator Modules on Google Maps and reach out to our expert, Diego, for a personalized 15-minute demo. Click here to book your session. https://www.leadstreet.be/meetings/diegoreilleraguiar/book-a-15-min-hubspot-module-demo-with-diego-clone
or contact our support team Support Landing Page

Kind Regards,

Hilde, Team leadstreet