You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 30, 2018. It is now read-only.
This is related to the chatter in this pull. Look at #83
If we are worried about trying to create items when the map is fully created.. we should use another mechanism >and not timeout. We should chain in a event handler on tilesloaded and do things after that.
Basically the map is not fully rendered yet and the marker's coords were set before the map was ready. You can fix this by setting your scope values when the tilesloaded event is hit. Use the events: {} option to have a handler on tilesloaded. This would work for the time being, and I will see if I can tie it into the directive as well. Originally there was a timeout to delay the marker rendering . However if you doing tons of markers this is really slow.
In my controller I have the following code
And my template has this
After loading the page the marker is not visible, only after changing the latitude and/or longitude values the marker appears.
Is this a bug or should I do this differently?
The text was updated successfully, but these errors were encountered: