loading...

Discussion on: How to use the Google Maps API with React.js

Collapse
titivermeesch profile image
PlayBossWar

Thanks a lot for this!
I had to do a little research for the styling since I wanted to use their custom json style files.
A little tip for those who want to do this too : save it as a defaultProps and they use it as shown above ;)

Collapse
cuzureau profile image
Christophe Uzureau

Hey ! Can you tell me more about this ? Where do you pass defaultProps ?

Collapse
titivermeesch profile image
PlayBossWar

Here is a link to the file I used it in, it will help you out I think : github.com/titivermeesch/neighbora...

Thread Thread
Sloan, the sloth mascot
Comment deleted
cuzureau profile image
Christophe Uzureau

Thanks a lot, it helped me !
Le Bonjour à la Belgique :)