tomchentw / react-google-maps

React.js Google Maps integration component
https://tomchentw.github.io/react-google-maps/
MIT License
4.62k stars 939 forks source link

MapId for cloud based styling not working. #1075

Open prnv0001 opened 3 years ago

prnv0001 commented 3 years ago

I am trying to adding map id for cloud based styling in the script tag in index.html and options of google maps tag but styles are not working.

In component , map id is passed as props <GoogleMap defaultCenter={centerCoord} center={centerCoord} mapId='MAP_ID'

After updating the styles on google cloud console, they are not updating in my implementation.

Could please soemone tell what is the issue in implementation?

fnasciment0 commented 2 months ago

I've the same problem, I made some changes in style but there are not showing in my map. Did you solved this issue @prnv0001?