Skip to main content

Timeline for ArcGIS Javascript API - Refresh

Current License: CC BY-SA 3.0

8 events
when toggle format what by license comment
Aug 30, 2012 at 19:17 vote accept ca0v
Aug 30, 2012 at 19:16 answer added ca0v timeline score: 2
Aug 30, 2012 at 13:55 comment added ca0v Cross-posted this to the ESRI forum at forums.arcgis.com/threads/65819-Refreshing-WMS-layers
Aug 30, 2012 at 13:33 comment added ca0v The code below does remove and re-add it and it does suffice to some degree...it's impossible to clone a layer so you need the constructor and it's not nearly as elegant as layer.refresh(). Regarding a scenario...updating weather radar. Not interested in tiles but in WMS.
Aug 30, 2012 at 5:01 comment added Stephen Lead Can you outline a scenario where you'd need to refresh a tiled or feature layer? Would removing a layer then re-adding it suffice?
Aug 27, 2012 at 19:12 history edited ca0v CC BY-SA 3.0
Reverted my update as it did not actually resolve my issue.
Aug 27, 2012 at 18:09 history edited ca0v CC BY-SA 3.0
added 182 characters in body
Aug 27, 2012 at 17:23 history asked ca0v CC BY-SA 3.0