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
There are some cases when map view should be updated without user action (for example when object was deleted on server and client needs to refresh map view automatically).
My simple solution is adding forceUpdate() function to wms.Source class, which adds dummy timestamp parameter to list of WMS parameters, updates overlay and than removes parameter:
There are some cases when map view should be updated without user action (for example when object was deleted on server and client needs to refresh map view automatically).
My simple solution is adding
forceUpdate()
function towms.Source
class, which adds dummy timestamp parameter to list of WMS parameters, updates overlay and than removes parameter:Is there any simpler and cleaner solution?
The text was updated successfully, but these errors were encountered: