Comments (6)
Would look into this and get back to you. Thanks for providing a repro.
from react-static-google-map.
I can confirm that this is fixed. Thank you very much!
from react-static-google-map.
Try using v0.4.2
from react-static-google-map.
I appreciate you looking into this. SSR is working! However, now client side doesn't work on Next.js Apps. See: https://next-map-doceyulxpe.now.sh. Updated code is here: lkbr/next-map@824bc5b
On load, the map is fine, but navigating (this happens client side see: https://github.com/zeit/next.js#with-link) between pages loads a blank map. Refreshing (which forces SSR) loads a complete map.
If you feel this is starting to be more of a Next.js issue than something you'd like to support with your package, I completely understand.
from react-static-google-map.
You're right, found what the problem is. Turns our Next makes some changes to the children props which breaks some of the assumptions I made earlier. I'm looking into it and might have a fix for it soon. Thanks for the repro, it has helped immensely.
from react-static-google-map.
@lkbr try v0.5.0 Should fix the issue.
from react-static-google-map.
Related Issues (20)
- In Direction component "Uncaught ReferenceError: google is not defined" error occur
- 0.9.0 has been published but not to github
- react-hot-loader causing issue in rendering of static map
- .
- Bump and publish new NPM version HOT 2
- Incorrect types in index.d.ts
- Incomplete typing for StaticGoogleMap
- Error while using latest version HOT 2
- Is there any way I can change the color or mode for map? HOT 2
- Issue finding react-promise in 0.5.5
- New Prop Placeholder to make a progressive image HOT 4
- Direction Component with waypoints HOT 3
- Add progressive image loading example to docs
- Add progressive image loading example to docs HOT 1
- Add a `style` prop to the <img> HOT 7
- Add <StreetViewGoogleMap /> component HOT 4
- export interfaces to be TypeScript friendly
- Why are markers required? HOT 1
- Marker iconURL param potentially not working as expected?
- map_id is not available HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-static-google-map.