Comments (2)
Google added a limit to the API usage.
https://cloud.google.com/maps-platform/pricing/sheet/
While we previously had unlimited Google maps queries (I think), it's now heavily limited.
Since the default key is probably used by hundreds if not thousands of websites, you might want to get your own Google maps API key: https://developers.google.com/maps/documentation/javascript/get-api-key.
Please note that enabling billing with Google is required, as far as I know (even though it will never cost you anything unless you explicitly agree to it).
Once you've got your new API key, open layouts/partials/js.html
, find the line where the default key is: "https://maps.googleapis.com/maps/api/js?key=AIzaSyCefOgb1ZWqYtj7raVSmN4PL2WkTrc-KyA&sensor=false"
, and replace it with your own key, as following:
"https://maps.googleapis.com/maps/api/js?key=[YOUR_KEY]&sensor=false"
.
Be sure to restrict how the key can be used to avoid anyone else from using it ! You can do that in the Console: add both referrers (in my case, my website is published at https://thomas.sauvajon.tech so I added that as a referrer: only requests coming from this website will work), and what API can be used with this key (once again in my case, only JavaScript API).
from hugo-elate-theme.
Great, thanks for the clear explanation. Fixed on my end, maybe just needs a little note in the readme.
from hugo-elate-theme.
Related Issues (20)
- Problem adding new page link to navigation bar (layouts/partials/nav.html) HOT 2
- Feature Request - Optionally Add Logo for Brand HOT 5
- how do i go about modifying where google maps plugin is pointed at? HOT 3
- Make YouTube, Facebook and Twitter editable in the config HOT 1
- Postpend/Prepend Link handling issues
- Why are there multiple style.css files?
- Line breaks are not rendered from config.toml
- Works in Microsoft Edge 41.16299.15.0, does not work in Chrome 64.0.3282.186 HOT 2
- Other colors theme HOT 1
- Failed to load resource with a status of 403 HOT 1
- Add a blog HOT 2
- Authors section line break HOT 1
- How do I add my own logo? HOT 3
- Change background Colours of sections HOT 1
- How i do i change the font?
- How do i change the position of about item ? HOT 1
- need help with mapping HOT 1
- Is this theme no longer supported? HOT 1
- How can i create new post? HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugo-elate-theme.