PSU-CSAR / vb-bagis

Source code for BAGIS V3 ESRI Add-In
0 stars 1 forks source link

AOI creation screen not refreshing correctly #61

Open jdduh opened 6 years ago

jdduh commented 6 years ago

This is a screenshot of the Create AOI tool when the initial AOI boundaries (red lines) were created. The background layers (flow acc and forecast points) were not correctly displayed.

image

lbross commented 6 years ago

Can you clarify this issue? Is the problem the pixel size of the background layers? The color of the forecast points (blue vs green) ? Was the basin created from local layers or webservices layers? The flow acc and forecast points look okay to me in the AOI I just created from an older basin. I don't remember if it was created from local layers or webservices.

jdduh commented 6 years ago

The vector layer was drawn over a not-refreshed flow accumulation layer. If I mannually refresh the map, then the display would refresh correctly. You probably can fix this problem by doing a complete map refresh after the vector layer is drawn. I remember ArcMap has several refresh modes. You need to use the mode that redraw every activated layers on the map.

lbross commented 6 years ago

Got it. This is fixed and ready to deploy

jdduh commented 5 years ago

We should review this issue more comprehensively since I still find erroneous display and excessive refreshing in BAGIS. My preference is not to include the display refreshing routine in individual functions, but explicitly call a refreshing function at the end of a task or a process. I will try to post the individual display issues here.