PSU-CSAR / vb-bagis

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

AOI Utilities - Add Selections to Map: layout displaced #45

Closed jdduh closed 7 years ago

jdduh commented 7 years ago

When adding a polyline layer to the map using the Add Selections to Map button, the layout frame disappears. I have to use the Zoom Whole Page tool to see the map layout. The Add Selections to Map seems to work fine with point data.

lbross commented 7 years ago

I updated the call to BA_DisplayVector to NOT zoom to the AOI. This appears to not work well in layout mode. BA_MapDisplayPointMarkers which displays the points doesn't zoom to the AOI either. This will be in the next release of BAGIS V3.

jdduh commented 7 years ago

Displaying the raster also has the same problem.

jdduh commented 7 years ago

I think the display tool was designed with only the map view (not the layout view) in mind. Can you comment out the zoom to AOI statement? I might change my mind and decide to add it back later.

lbross commented 7 years ago

This is done. It will be in the next release of BAGIS V3. I added a parameter to BA_DisplayRaster to make zooming to the AOI optional