https://github.com/nora-soderlund/google-maps-examples
A collection of Maps JavaScript API examples from my developer blog.
https://github.com/nora-soderlund/google-maps-examples
google maps
Last synced: about 1 year ago
JSON representation
A collection of Maps JavaScript API examples from my developer blog.
- Host: GitHub
- URL: https://github.com/nora-soderlund/google-maps-examples
- Owner: nora-soderlund
- Created: 2023-02-26T14:19:53.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-13T16:36:33.000Z (about 3 years ago)
- Last Synced: 2025-02-07T17:18:45.172Z (over 1 year ago)
- Topics: google, maps
- Language: JavaScript
- Homepage: https://nora-soderlund.github.io/google-maps-examples/
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Google Maps Examples
This repository is a collection of Google Maps examples from articles on my [developer blog](https://nora-soderlund.se/).
All examples are written in JavaScript using the [Maps JavaScript API](https://developers.google.com/maps/documentation/javascript/overview).
## Trying the examples through pages
This repository is hosted through Cloudflare Pages and all examples can be tested directly through the https://google-maps-examples.nora-soderlund.se/ url.
However, as I do not want to be responsible for billing for examples tested through Cloudflare Pages, you must append your own Maps JavaScript API key in the search parameters.
If you do not wish to use your own API key, you can still try all of the examples on its respective article on my blog.
| Article | Cloudflare Pages |
| ------- | ------------ |
| [Capturing Google Maps markers inside a polygon](https://nora-soderlund.se/articles/capturing-google-maps-markers-in-a-polygon) | [Capture markers in a drawn polygon](https://google-maps-examples.nora-soderlund.se/capturing-google-maps-markers-in-a-polygon/?key=API_KEY) |
| [Using Google Maps markers as anchors](https://nora-soderlund.se/articles/using-google-maps-markers-as-anchors) | [Using markers as anchors](https://google-maps-examples.nora-soderlund.se/using-google-maps-markers-as-anchors/?key=API_KEY) |
| [Bundling several Google Maps markers together](https://nora-soderlund.se/articles/bundling-several-google-maps-markers-together) | [Multiple markers at the same position](https://google-maps-examples.nora-soderlund.se/bundling-several-google-maps-markers-together/?key=API_KEY) |