googlemaps / googlemaps/js-samples

Bug or my error?

Open
#1,493 1 comment 0 reactions 1 assignee Claimed by @amuramoto View on GitHub
Dominant language
TypeScript
Stars
805
Forks
836
PR merge metrics
No merged PRs in 30d

Description

### Operating system

Linux 110.0 (build 5)

### Browser Version

Version 112.0.1722.58 (Official build) (64-bit)

### How severe is the bug?

moderate

### Bug description

Forgive me I have near zero experience with google maps.
If I copy this code to a .html page on my linux server should a map open (with the existing Google maps API key)?

https://github.com/googlemaps/js-samples/blob/bdfbfc1db0d0680e361132bc54bdf580b3bdee34/dist/samples/map-simple/docs/index.html

With existing key or my own key that is authorised on my IP I get a blank white page. I can see alll the code in source.
Thanks Colin K

### Steps to reproduce

copy the code to an HTML page, upload to a server.

If necessary swap the Google API key for your own and ensure your key is authorised for your site or your IP

### Console log output

```sh
none - other than style.css error
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.