Select to view content in your preferred language

MapDisplay.Extent different in 3D vs 2D

574
0
11-17-2011 09:21 AM
FredSpataro
Occasional Contributor III
Hi All:

Does anyone know how to correctly "project" a geometry from AGX's 3D coordinate system the same 2D coordinate system? 

Here's what we've found:

If we zoom into an area and messagebox the MapDisplay.Extent the values will be different in 2D vs 3D  even though visually the map seems to have the same dimensions.  This becomes readily apparent when we send the extent coordinates over to a server to do a spatial intersect.  In 2D mode we get back the only the features in the map view (as we'd expect), in 3D mode we get features outside the current map display.  I've captured the extent values and drew them in ArcMap and the 3D extent is clearly larger. 

We've tried calling project with the MapDisplay.CoordinateSystem2D but doesn't seem to help since both are WGS84...
0 Kudos
0 Replies