ui-leaflet icon indicating copy to clipboard operation
ui-leaflet copied to clipboard

Is there anyway to still update the markers that are outside of the viewport?

Open joshting opened this issue 9 years ago • 1 comments

I encountered this problem with moving markers (gps tracked). I wish to display some details of certain markers such as their coordinates and other information pushed from the server. The information is bound to the marker model. So, the problem occurs when the marker is out of view. Even the server still push the new data and the javascript attempts to update the model but its not updated.

I understand that leaflet did this for performance but I need to selectively choose to see live updates of certain markers even though it is out of view. Is there a way to conditionally override the default behavior under these circumstances?

joshting avatar Jan 22 '16 13:01 joshting

Please, could you replicate in http://jsfiddle.net?

elesdoar avatar Jan 22 '16 15:01 elesdoar