Skip to content

Commit 7630bb7

Browse files
authored
docs: add more detail to billing docs (#88)
1 parent 377c3c1 commit 7630bb7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/content/scripts/content/google-maps.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,13 @@ By default, it will load on the `mouseover` and `mouseclick` events.
3232
You'll need an API key with permissions to access the [Static Maps API](https://developers.google.com/maps/documentation/maps-static/cloud-setup) and the [Maps JavaScript API](https://developers.google.com/maps/documentation/javascript/cloud-setup).
3333
::
3434

35-
Showing an interactive JS map requires the Maps JavaScript API, which is a paid service, the following costs will be incurred:
36-
- $7 per 1000 loads for the Maps JavaScript API
35+
Showing an interactive JS map requires the Maps JavaScript API, which is a paid service. If a user interacts with the map, the following costs will be incurred:
36+
- $7 per 1000 loads for the Maps JavaScript API (default for using Google Maps)
3737
- $5 per 1000 loads for the Geocoding API
3838
- $2 per 1000 loads for the Static Maps API
3939

40+
However, if the user never engages with the map, only the Static Maps API usage ($2 per 1000 loads) will be charged.
41+
4042
Billing will be optimized in a [future update](https://github.com/nuxt/scripts/issues/83).
4143

4244
You should consider using the [Iframe Embed](https://developers.google.com/maps/documentation/embed/get-started) instead if you want to avoid these costs

0 commit comments

Comments
 (0)