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
Dosha2y 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
TheJhonnyOP2y 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
Dosha2y 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
TheJhonnyOP2y ago
I see. I don't mind it being Google
Dosha
Dosha2y 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
Dosha2y 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
Dosha2y 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
TheJhonnyOP2y ago
Lol. I'll give it a whirl. Thank you
Dosha
Dosha2y ago
if anyone suggests that you can automate your whole business with AI just tell them about how google does its shit
TheJhonny
TheJhonnyOP2y ago
I'm playing around with ai at the moment and it's really cool, but it's wrong quite a bit.
Want results from more Discord servers?
Add your server