DK for Delphi | GisViewer.TGIS_Viewer.FullExtent | Constructors | Fields | Methods | Properties | Events
Calculate the screen origin, zoom, and viewport to place the whole map in the window.
Implements IGIS_Viewer.FullExtent.
// Delphi public procedure FullExtent; virtual;
// C++ Builder public: virtual void FullExtent(void);
USAGE: Fit all loaded layers in viewport at optimal zoom. Essential after adding layers or for "zoom to all" user action. Screen origin, zoom, and viewport automatically calculated.
gis.Add(layer) gis.FullExtent()