saey55 / hugo-elate-theme

A one page parallax theme with animation for Hugo
MIT License
192 stars 102 forks source link

need help with mapping #45

Open limbicrevision opened 3 years ago

limbicrevision commented 3 years ago

Hello I am not an expert in site development but I like hugo's methodology but I am having a lot of trouble getting a map of my office to display.

I acquired a googlemaps api key and saved it into the config.toml but the same default map shows. Previous support seemed to indicate something about altering some javascript file but I do not see that code. It appears that something called leaflet is being used and not google. Could you explain what steps need to be taken? I would prefer google but openstreetmap would work.

Many thanks

fvlasie commented 3 years ago

You need to edit static/js/leaflet-map.js

The geocoordinates are near the very top of the file.