-
Notifications
You must be signed in to change notification settings - Fork 918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markers don't show up on initial page load after MAP_READY #2793
Comments
Could you clean up your post? |
And what version number of this plugin do you use? |
Current version (2.7.1 from npm) build with build.phonegap.com |
Could you try the multiple_maps branch version? |
Markers works with this version but now i can't open a second map. When i open the first page, the map and the markers load. I go back and open another page with other coordinates, the map shows the first map (position) and i can't scroll or zoom. |
Ok, could you share your project files on GitHub repository? I need to know more details about your code. |
ping |
I'm submitting a ...
OS:
Phonegap Version: cli-9.0.0
Plugins:
Current behavior:
Hey!
When i load a map on Android and set markers after MAP_READY was fired, the markers don't show at the first page load. When i reload the page the markers will show up. I think it's because the map images are in the cache. When i add a timeout to the MAP_READY event, the markers show up also at the first load.
[Android]
Without setTimeout, no markers show up on the initial load of the page:
When i add a timeout, it works:
Looks like the MAP_READY event is to fast?!
The text was updated successfully, but these errors were encountered: