any tips for implementing Google maps, open layers, or open maps?

I've unsuccessfully tried to add a map to a page. Does anyone have a good example?
10 Replies
Dosha
Dosha15mo ago
Are there any specific requirements you have or you just need a map? Like do you need it to be up to date? @TheJhonny
thejhonny
thejhonny15mo ago
I created an event page and within that page I'm gonna pull in my event details. So I'll have an address and I'll just need to show that location. They might be able to zoom out But nothing complex like plotting
Dosha
Dosha15mo ago
the two types of maps are up to date maps and delayed maps , up to date free maps are w google, the rest are paid (mapbox etc) up to date means that it has recent roads development etc you can get a totally free non google map but it'll be kinda outdated
thejhonny
thejhonny15mo ago
I see. I don't mind it being Google
Dosha
Dosha15mo ago
Then you need to register to google developer portal request the google map javascript api then add the credential with whitelisting your localhost and ur deployment domain use whatever client api given to the sdk
Dosha
Dosha15mo ago
Google Maps Platform
YouTube
How to load Maps JavaScript API in React
Learn how to use the official React wrapper for the Maps JavaScript API. In this Geocast, Leigh Halliday demonstrates how to load the Maps JavaScript API and place a marker on the map in React, in just 5 minutes! Watch prt two of this video → https://goo.gle/3K2sAvk Github → https://goo.gle/3CQLSkS Google Maps JavaScript API React Wrapper on...
Dosha
Dosha15mo ago
the setup takes ALOT of time but thats google for you also iirc google has like 5 javascript map sdks most of which are abandoned but they rarely clean up the mess anytime you have to deal with google it'll be annoying as hell so be patient most of their shit is automated which is why it seems broken
thejhonny
thejhonny15mo ago
Lol. I'll give it a whirl. Thank you
Dosha
Dosha15mo ago
if anyone suggests that you can automate your whole business with AI just tell them about how google does its shit
thejhonny
thejhonny15mo ago
I'm playing around with ai at the moment and it's really cool, but it's wrong quite a bit.