User Tools

Site Tools


api:dk11:delphi:fmx.gisviewerwnd.tgis_viewerwnd



TGIS_ViewerWnd class

DK for Delphi | FMX.GisViewerWnd.TGIS_ViewerWnd | Classes | Constructors | Methods | Properties | Events

Main FireMonkey visual control for displaying and interacting with maps in a window.

Available also on: .NET WinForms | Java | ActiveX | Python.

Syntax

// Delphi
type
  [ComponentPlatformsAttribute(pidAllPlatforms)]
  TGIS_ViewerWnd = class( TStyledControl, IGIS_Viewer, IGIS_ViewerParent, IGIS_ViewerWnd )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_ViewerWnd : public TStyledControl
{
};

Inheritance

→ TStyledControl

Implements

Constructors

Inherited Overrides Protected
Name Visibility Description
Create public Creates the viewer window control.
Destroy public Destroys the viewer window control.

Methods

Inherited Overrides Protected
Name Visibility Description
Add public Add a layer to the Viewer.
(Implements IGIS_Viewer.Add)
AddHierarchy public Read layer hierarchy information and build hierarchy groups.
(Implements IGIS_Viewer.AddHierarchy)
AssignedBusyEvent public Reference to a busy event handler assigned to the Viewer.
(Implements IGIS_Viewer.AssignedBusyEvent)
AssignedHelpEvent public Reference to a help event handler assigned to the Viewer.
(Implements IGIS_Viewer.AssignedHelpEvent)
AttachLayer public Attach layer to the viewer by re-parenting.
(Implements IGIS_Viewer.AttachLayer)
BeginPaintInternal public Notify the viewer that painting is starting.
(Implements IGIS_Viewer.BeginPaintInternal)
BusyPrepare public Prepare BusyEvent for a long-running operation.
(Implements IGIS_Viewer.BusyPrepare)
BusyRelease public Release the busy state.
(Implements IGIS_Viewer.BusyRelease)
BusyShake public Update the busy state.
(Implements IGIS_Viewer.BusyShake)
CenterViewport public Sets the viewport so that _ptg becomes visible at the center of the screen.
(Implements IGIS_Viewer.CenterViewport)
ChangeHash public Change hash used to verify whether the layer order, parameters, or related viewer state has been modified.
(Implements IGIS_Viewer.ChangeHash)
Close public Close the current project or layer.
(Implements IGIS_Viewer.Close)
ControlAutoCenterViewport public Move the screen origin of the map by delta values.
(Implements IGIS_ViewerParent.ControlAutoCenterViewport)
ControlCanvasHeight public Gets the canvas height.
(Implements IGIS_ViewerParent.ControlCanvasHeight)
ControlCanvasScale public Gets the canvas scale.
(Implements IGIS_ViewerParent.ControlCanvasScale)
ControlCanvasWidth public Gets the canvas width.
(Implements IGIS_ViewerParent.ControlCanvasWidth)
ControlClose public Notifies the control that the map is going to be closed.
(Implements IGIS_ViewerParent.ControlClose)
ControlDrawTexture(TObject; TGIS_Extent; Integer) public Draws a texture.
(Implements IGIS_ViewerParent.ControlDrawTexture)
ControlDrawTexture(TObject; TGIS_LayerAbstract; TGIS_Extent; Integer) public Draws a bitmap texture for the specified layer and map extent.
(Implements IGIS_ViewerParent.ControlDrawTexture)
ControlExtentChanged public Notify the control that the map extent has changed.
(Implements IGIS_ViewerParent.ControlExtentChanged)
ControlFlash public Flashes the control.
(Implements IGIS_ViewerParent.ControlFlash)
ControlHourglassHide public Hide the hourglass cursor.
(Implements IGIS_ViewerParent.ControlHourglassHide)
ControlHourglassShake public Refresh the hourglass cursor state.
(Implements IGIS_ViewerParent.ControlHourglassShake)
ControlHourglassShow public Show the hourglass cursor.
(Implements IGIS_ViewerParent.ControlHourglassShow)
ControlInvoke public Runs a procedure in the UI thread context.
(Implements IGIS_ViewerParent.ControlInvoke)
ControlObject public Returns the active parent control as an object.
(Implements IGIS_ViewerParent.ControlObject)
ControlPPI public Gets the current pixels per inch (PPI).
(Implements IGIS_ViewerParent.ControlPPI)
ControlProcessMessages public Processes pending control messages.
(Implements IGIS_ViewerParent.ControlProcessMessages)
ControlRaiseEditorChangeEvent public Raise the editor change event.
(Implements IGIS_ViewerParent.ControlRaiseEditorChangeEvent)
ControlRenderer public Gets the current renderer instance.
(Implements IGIS_ViewerParent.ControlRenderer)
ControlRepaint public Repaint the viewer control.
(Implements IGIS_ViewerParent.ControlRepaint)
ControlSet3DMode public Set the current 3D mode.
(Implements IGIS_ViewerParent.ControlSet3DMode)
ControlSystemPPI public Gets the system pixels per inch (PPI).
(Implements IGIS_ViewerParent.ControlSystemPPI)
ControlUpdateBasemap public Update the basemap.
(Implements IGIS_ViewerParent.ControlUpdateBasemap)
ControlUpdateEditor public Update the editor.
(Implements IGIS_ViewerParent.ControlUpdateEditor)
ControlUpdateProgressive public Perform a progressive update.
(Implements IGIS_ViewerParent.ControlUpdateProgressive)
ControlUpdateSelection public Update the selection layer.
(Implements IGIS_ViewerParent.ControlUpdateSelection)
ControlUpdateSynchronize public Wait for a pending paint operation to be finalized.
(Implements IGIS_ViewerParent.ControlUpdateSynchronize)
ControlUpdateTopmost public Update the topmost layer.
(Implements IGIS_ViewerParent.ControlUpdateTopmost)
ControlUpdateWholeMap public Update the whole map display.
(Implements IGIS_ViewerParent.ControlUpdateWholeMap)
Delete public Delete the layer identified by name.
(Implements IGIS_Viewer.Delete)
DoMouseDown public Executes the same action as a mouse down event.
DoMouseMove public Executes the same action as a mouse move event.
DoMouseUp public Executes the same action as a mouse up event.
Draw public Draw all layers on the current renderer.
(Implements IGIS_Viewer.Draw)
EndPaintInternal public Notify the viewer that painting has finished.
(Implements IGIS_Viewer.EndPaintInternal)
FullExtent public Calculates the screen origin, zoom, and viewport to fit the whole map in the window.
(Implements IGIS_Viewer.FullExtent)
FullExtentZoom public Calculates the zoom that fits the whole map inside the window.
(Implements IGIS_Viewer.FullExtentZoom)
Get public Retrieve the layer identified by name.
(Implements IGIS_Viewer.Get)
GetCacheBitmap public Returns a copy of the last cache bitmap.
GetGrid public Fill the provided _grid array with values for _extent.
(Implements IGIS_Viewer.GetGrid)
GetRenderContext public Returns the current rendering context object.
(Implements IGIS_Viewer.GetRenderContext)
GetViewer public Get the internal viewer handle.
(Implements IGIS_ViewerParent.GetViewer)
HourglassActive public Test whether the hourglass is active.
(Implements IGIS_Viewer.HourglassActive)
HourglassPrepare public Prepare the hourglass cursor for a long-running operation.
(Implements IGIS_Viewer.HourglassPrepare)
HourglassRelease public Release the hourglass state.
(Implements IGIS_Viewer.HourglassRelease)
HourglassRestart public Restart hourglass timing used for progressive updates.
(Implements IGIS_Viewer.HourglassRestart)
HourglassShake public Refresh the hourglass state.
(Implements IGIS_Viewer.HourglassShake)
Interrupt public Request interruption of a long-running operation as soon as possible.
(Implements IGIS_Viewer.Interrupt)
Interrupted public Test whether a pending operation must be aborted.
(Implements IGIS_Viewer.Interrupted)
InvalidateBasemap public Invalidate only basemap layers.
(Implements IGIS_Viewer.InvalidateBasemap)
InvalidateEditor public Invalidate the editor to mark the viewer for redraw after an editor change.
(Implements IGIS_Viewer.InvalidateEditor)
InvalidateExtent(TGIS_Extent) public Invalidate an extent for a full map redraw.
(Implements IGIS_Viewer.InvalidateExtent)
InvalidateExtent(TGIS_Extent; Boolean) public Invalidate an extent for redraw.
(Implements IGIS_Viewer.InvalidateExtent)
InvalidateSelection public Invalidate the selection to mark the viewer for redraw after a selection change.
(Implements IGIS_Viewer.InvalidateSelection)
InvalidateTopmost public Invalidate only topmost layers.
(Implements IGIS_Viewer.InvalidateTopmost)
InvalidateWholeMap public Invalidate whole map.
(Implements IGIS_Viewer.InvalidateWholeMap)
Locate(TGIS_Point; Double) public Locates the shape nearest to _ptg that is within _prec.
(Implements IGIS_Viewer.Locate)
Locate(TGIS_Point; Double; Boolean) public Locates the shape nearest to _ptg that is within _prec.
(Implements IGIS_Viewer.Locate)
Locate(TPoint; Integer) public Locates the shape nearest to _pt that is within _prec.
(Implements IGIS_Viewer.Locate)
LocateEx public Locates shapes on layers near _ptg and returns the best candidate from each layer that is within _prec.
(Implements IGIS_Viewer.LocateEx)
Lock public Lock the viewer to batch visual updates.
(Implements IGIS_Viewer.Lock)
MapToScreen public Converts point coordinates from map coordinates to screen coordinates.
(Implements IGIS_Viewer.MapToScreen)
MapToScreen3D public Converts 3D point coordinates from map coordinates to screen coordinates.
(Implements IGIS_Viewer.MapToScreen3D)
MapToScreenEx public Converts point coordinates from map coordinates to screen coordinates, returning the result as TGIS_Point.
(Implements IGIS_Viewer.MapToScreenEx)
MapToScreenRect public Converts rectangle coordinates from map coordinates to screen coordinates.
(Implements IGIS_Viewer.MapToScreenRect)
MarkModified public Mark the viewer as modified.
(Implements IGIS_Viewer.MarkModified)
MoveViewport public Moves the map viewport by delta values in screen coordinates.
(Implements IGIS_Viewer.MoveViewport)
MoveViewportEx public Moves the map viewport by delta values in map coordinates.
(Implements IGIS_Viewer.MoveViewportEx)
MustSave public Check if any layer or the project file was modified by editing.
(Implements IGIS_Viewer.MustSave)
NotifyPaintException public Transform an exception into a TGIS_Viewer.OnPaintException event.
(Implements IGIS_Viewer.NotifyPaintException)
NotifySubscribers public Send a notification to subscribed controls.
(Implements IGIS_Viewer.NotifySubscribers)
Open(String) public Open a project or layer.
(Implements IGIS_Viewer.Open)
Open(String; Boolean) public Open a project or layer.
(Implements IGIS_Viewer.Open)
OpenAsync(String; Boolean; TGIS_AsyncCallback) public Open a project or layer asynchronously.
(Implements IGIS_Viewer.OpenAsync)
OpenAsync(String; TGIS_AsyncCallback) public Open a project or layer asynchronously.
(Implements IGIS_Viewer.OpenAsync)
OpenEx(TGIS_ConfigAbstract; String) public Open a project or layer from an in-memory configuration.
(Implements IGIS_Viewer.OpenEx)
OpenEx(TGIS_ConfigAbstract; String; Boolean) public Open a project or layer from an in-memory configuration.
(Implements IGIS_Viewer.OpenEx)
OpenExAsync(TGIS_ConfigAbstract; String; Boolean; TGIS_AsyncCallback) public Open a project or layer from an in-memory configuration asynchronously.
(Implements IGIS_Viewer.OpenExAsync)
OpenExAsync(TGIS_ConfigAbstract; String; TGIS_AsyncCallback) public Open a project or layer from an in-memory configuration asynchronously.
(Implements IGIS_Viewer.OpenExAsync)
PixelsToTwips public Converts a size from device-dependent pixels to device-independent twips (1/1440 inch) to keep the map device independent.
(Implements IGIS_Viewer.PixelsToTwips)
Print public Print the current viewer content using the default printer.
(Implements IGIS_ViewerWnd.Print)
Print(IGIS_Printer) public Print the current viewer content using the specified printer.
(Implements IGIS_ViewerWnd.Print)
PrintBmp(FMX.Types.TBitmap) public Prints the current view to a bitmap covering the control's current VisibleExtent.
PrintBmp(FMX.Types.TBitmap; Boolean) public Prints the current view to a bitmap covering the control's current VisibleExtent.
PrintBmp(TGIS_Bitmap) public Print the current viewer content to a bitmap.
(Implements IGIS_ViewerWnd.PrintBmp)
PrintBmp(TGIS_Bitmap; Boolean) public Print the current viewer content to a bitmap.
(Implements IGIS_ViewerWnd.PrintBmp)
PrintClipboard public Copies the current view to the clipboard.
PrintClipboard(Boolean) public Copies the current view to the clipboard.
PrintPdf(String) public Prints the current extent to a PDF (Portable Document Format) file using the default page size and default PPI.
(Implements IGIS_Viewer.PrintPdf)
PrintPdf(String; Single; Single) public Prints the current extent to a PDF (Portable Document Format) file using the specified page size and default PPI.
(Implements IGIS_Viewer.PrintPdf)
PrintPdf(String; Single; Single; Integer) public Prints the current extent to a PDF (Portable Document Format) file using the specified page size and custom PPI.
(Implements IGIS_Viewer.PrintPdf)
PrintPdf(TStream) public Prints the current extent to PDF using the default page size and default PPI.
(Implements IGIS_Viewer.PrintPdf)
PrintPdf(TStream; Single; Single) public Prints the current extent to PDF using the specified page size and default PPI.
(Implements IGIS_Viewer.PrintPdf)
PrintPdf(TStream; Single; Single; Integer) public Prints the current extent to PDF using the specified page size and custom PPI.
(Implements IGIS_Viewer.PrintPdf)
PrintSvg(String) public Prints the current extent to SVG (Scalable Vector Graphics) using the parent view box size and parent PPI.
(Implements IGIS_Viewer.PrintSvg)
PrintSvg(String; Single; Single; Integer) public Prints the current extent to SVG (Scalable Vector Graphics).
(Implements IGIS_Viewer.PrintSvg)
PrintSvg(TStream) public Prints the current extent to SVG (Scalable Vector Graphics) using the parent view box size and parent PPI.
(Implements IGIS_Viewer.PrintSvg)
PrintSvg(TStream; Single; Single; Integer) public Prints the current extent to SVG (Scalable Vector Graphics).
(Implements IGIS_Viewer.PrintSvg)
RaiseBusyEvent public Fire the viewer busy event.
(Implements IGIS_Viewer.RaiseBusyEvent)
RaiseHelpEvent public Fire the viewer help event.
(Implements IGIS_Viewer.RaiseHelpEvent)
ReadConfig public Read configuration data for the current project or layer.
(Implements IGIS_Viewer.ReadConfig)
RecalcExtent public Calculates a common extent.
(Implements IGIS_Viewer.RecalcExtent)
ReParent public Set a new parent for the viewer.
(Implements IGIS_Viewer.ReParent)
ReParentLock public Block reparenting.
(Implements IGIS_Viewer.ReParentLock)
ReParentUnlock public Unblock reparenting.
(Implements IGIS_Viewer.ReParentUnlock)
Reposition public Reposition the map within the component window.
(Implements IGIS_Viewer.Reposition)
RereadConfig public Reread configuration data from the current project or layer configuration file.
(Implements IGIS_Viewer.RereadConfig)
RestorePaintState public Restore and free the current paint state.
(Implements IGIS_Viewer.RestorePaintState)
RevertAll public Revert all layers to their file-based original state.
(Implements IGIS_Viewer.RevertAll)
RotatedExtent public Computes the extent that encompasses an extent after viewer rotation.
(Implements IGIS_Viewer.RotatedExtent)
RotatedPoint public Computes the position of a point after viewer rotation.
(Implements IGIS_Viewer.RotatedPoint)
RotatedPoint3D public Computes the position of a 3D point after viewer rotation.
(Implements IGIS_Viewer.RotatedPoint3D)
RotatedPoint3D_ref public Computes the position of the 3D point after viewer rotation.
(Implements IGIS_Viewer.RotatedPoint3D_ref)
SaveAll public Saves all layers and the project file.
(Implements IGIS_Viewer.SaveAll)
SaveData public Saves geometry and attribute data for all layers.
(Implements IGIS_Viewer.SaveData)
SaveProject public Save the current project.
(Implements IGIS_Viewer.SaveProject)
SaveProject(Boolean) public Save the current project.
(Implements IGIS_Viewer.SaveProject)
SaveProjectAs(String) public Save the current project under a new name.
(Implements IGIS_Viewer.SaveProjectAs)
SaveProjectAs(String; Boolean) public Save the current project under a new name.
(Implements IGIS_Viewer.SaveProjectAs)
SaveProjectAsEx(TGIS_ConfigAbstract; String) public Save the current project under a new name.
(Implements IGIS_Viewer.SaveProjectAsEx)
SaveProjectAsEx(TGIS_ConfigAbstract; String; Boolean) public Save the current project under a new name.
(Implements IGIS_Viewer.SaveProjectAsEx)
ScreenToMap public Converts point coordinates from screen coordinates to map coordinates.
(Implements IGIS_Viewer.ScreenToMap)
ScreenToMap3D public Converts point coordinates from screen coordinates to map coordinates.
(Implements IGIS_Viewer.ScreenToMap3D)
ScreenToMapEx public Converts point coordinates from screen coordinates to map coordinates, using TGIS_Point as the source type.
(Implements IGIS_Viewer.ScreenToMapEx)
ScreenToMapRect public Converts rectangle coordinates from screen coordinates to map coordinates.
(Implements IGIS_Viewer.ScreenToMapRect)
SetCSByEPSG public Sets the coordinate system from an EPSG (European Petroleum Survey Group) code.
(Implements IGIS_Viewer.SetCSByEPSG)
SetCSByWKT public Sets the coordinate system from a WKT (Well-Known Text) string containing a GEOGCS or PROJCS definition.
(Implements IGIS_Viewer.SetCSByWKT)
SetCSByWKTFile public Sets the coordinate system from a file containing a WKT (Well-Known Text) string with a GEOGCS or PROJCS definition.
(Implements IGIS_Viewer.SetCSByWKTFile)
SetViewer public Set the internal viewer handle.
(Implements IGIS_ViewerParent.SetViewer)
SetViewport public Sets the viewport origin to a given position in map coordinates.
(Implements IGIS_Viewer.SetViewport)
StorePaintState public Store the current paint state.
(Implements IGIS_Viewer.StorePaintState)
Subscribe public Add a control to the notification subscription list.
(Implements IGIS_Viewer.Subscribe)
SynchronizePaint public Wait for a pending paint operation to finish.
(Implements IGIS_Viewer.SynchronizePaint)
TapDouble protected Calls the action equivalent to a double tap.
TapLong protected Calls the action equivalent to a long tap (press and hold).
TapSingle protected Calls the action equivalent to a single tap.
TwipsToPixels public Converts a size from device-independent twips (1/1440 inch) to device-dependent pixels to keep the map device independent.
(Implements IGIS_Viewer.TwipsToPixels)
TwipsToPoints public Converts a size from device-independent twips (1/1440 inch) to device points for advanced font sizing.
(Implements IGIS_Viewer.TwipsToPoints)
Unlock public Unlock the viewer and redraw it.
(Implements IGIS_Viewer.Unlock)
Unlock(Boolean) public Unlock the viewer and optionally redraw it.
(Implements IGIS_Viewer.Unlock)
UnrotatedExtent public Computes the original extent of a rotated extent.
(Implements IGIS_Viewer.UnrotatedExtent)
UnrotatedPoint public Computes the original position of a rotated point.
(Implements IGIS_Viewer.UnrotatedPoint)
UnrotatedPoint3D public Computes the original position of a rotated 3D point.
(Implements IGIS_Viewer.UnrotatedPoint3D)
UnrotatedPoint3D_ref public Computes the original position of a rotated 3D point.
(Implements IGIS_Viewer.UnrotatedPoint3D_ref)
UnSubscribe public Remove a control from the notification subscription list.
(Implements IGIS_Viewer.UnSubscribe)
WaitForBackgroundProcesses public Waits for any pending background processes that must finish before the application can continue.
(Implements IGIS_Viewer.WaitForBackgroundProcesses)
WaitForNotBusy public Calls _proc when the viewer fully finishes the painting process.
(Implements IGIS_Viewer.WaitForNotBusy)
WriteConfig public Write configuration data to the project or layer INI file.
(Implements IGIS_Viewer.WriteConfig)
ZoomBy public Zoom the viewer by a factor around a screen point.
(Implements IGIS_ViewerWnd.ZoomBy)

Properties

Inherited Protected
Name Visibility Description
Action published Standard FireMonkey (FMX) property.
ActiveBackgroundColor public Effective background color currently used by the viewer, including the active FireMonkey style.
Align published Standard FireMonkey (FMX) property.
Anchors published Standard FireMonkey (FMX) property.
AutoCenter published If True, centers the map view during operations such as clicking or editing.
AutoStyle published If True, layers added to the viewer will have a unique style applied.
(Implements IGIS_Viewer.AutoStyle)
BackgroundColor published Background color of the viewer.
BigExtent public Map extent encompassing the collective extents of all layers and a border defined by BigExtentMargin.
(Implements IGIS_Viewer.BigExtent)
BigExtentMargin published Margin used when fitting the map extent into the window.
(Implements IGIS_Viewer.BigExtentMargin)
BusyLevel public Level of current busy state.
(Implements IGIS_Viewer.BusyLevel)
BusyText public Text related to the current busy state.
(Implements IGIS_Viewer.BusyText)
Center public Center the screen based on given point.
(Implements IGIS_Viewer.Center)
CenterPtg public Point on which the viewer will be centered during zoom.
(Implements IGIS_Viewer.CenterPtg)
Color public Background color of the viewer.
(Inherited from IGIS_Viewer)
Copyright public Legal notice and product version text.
(Implements IGIS_Viewer.Copyright)
CS public Coordinate system assigned to the viewer.
(Implements IGIS_Viewer.CS)
CursorFor3DSelect published Cursor for TGIS_Viewer3DMode.Select.
CursorForCameraPosition published Cursor for TGIS_Viewer3DMode.CameraPosition.
CursorForCameraRotation published Cursor for TGIS_Viewer3DMode.CameraRotation.
CursorForCameraXY published Cursor for TGIS_Viewer3DMode.CameraXY.
CursorForCameraXYZ published Cursor for TGIS_Viewer3DMode.CameraXYZ.
CursorForCameraZoom published Cursor for TGIS_Viewer3DMode.Zoom.
CursorForDrag published Cursor for TGIS_ViewerMode.Drag mode when panning the map.
CursorForEdit published Cursor for TGIS_ViewerMode.Edit mode when editing map features.
CursorForSelect published Cursor for TGIS_ViewerMode.Select mode when selecting map features.
CursorForSunPosition published Cursor for TGIS_Viewer3DMode.SunPosition.
CursorForUserDefined published Cursor for TGIS_ViewerMode.UserDefined mode.
CursorForZoom published Cursor for TGIS_ViewerMode.Zoom mode when zooming with a rubber-band rectangle.
CursorForZoomEx published Cursor for TGIS_ViewerMode.ZoomEx mode when zooming interactively.
CustomData public List of custom user-defined data saved to and restored from config/project files.
(Implements IGIS_Viewer.CustomData)
CustomPPI published Custom resolution in pixels per inch (PPI).
(Implements IGIS_Viewer.CustomPPI)
DelayedUpdate published Delayed update threshold in milliseconds.
(Implements IGIS_Viewer.DelayedUpdate)
Editor public Editor context.
(Implements IGIS_Viewer.Editor)
Enabled published Standard FireMonkey (FMX) property.
Extent public Map extent encompassing the collective extents of all layers.
(Implements IGIS_Viewer.Extent)
FileCopyrights public List of file copyrights.
(Implements IGIS_Viewer.FileCopyrights)
FontScale published Font magnifying factor in percents.
(Implements IGIS_Viewer.FontScale)
FullDrawExtent public Extent of the full current or last drawing area, including margin and without tiling.
(Implements IGIS_Viewer.FullDrawExtent)
Graticule public Graticule object used to draw coordinate grid lines.
Height published Standard FireMonkey (FMX) property.
Hierarchy public Hierarchy list.
(Implements IGIS_Viewer.Hierarchy)
HiRes published Enables high-resolution rendering.
HitTest published Standard FireMonkey (FMX) property.
IncrementalPaint published True if partial drawing to screen is done in incremental mode.
(Implements IGIS_Viewer.IncrementalPaint)
InPaint public True if the viewer is busy in the Paint procedure.
(Implements IGIS_Viewer.InPaint)
IsBusy public Indicates whether the viewer is currently busy.
(Implements IGIS_Viewer.IsBusy)
IsEmpty public True if the viewer is empty and contains no layers.
(Implements IGIS_Viewer.IsEmpty)
IsLocked public True if the viewer is in the locked state.
(Implements IGIS_Viewer.IsLocked)
IsTopmost public True if Viewer has a topmost layer.
(Implements IGIS_Viewer.IsTopmost)
Items public All layers.
(Implements IGIS_Viewer.Items)
KeepScale published True if a viewer should maintain scale upon resize.
(Implements IGIS_Viewer.KeepScale)
LabelsReg public Labels position allocator object.
(Implements IGIS_Viewer.LabelsReg)
Level public Sets and gets the zoom level for the viewer.
(Implements IGIS_Viewer.Level)
Locked published Standard FireMonkey (FMX) property.
Margins published Standard FireMonkey (FMX) property.
MasterViewer public Reference to the master viewer used by tiled painting.
(Implements IGIS_Viewer.MasterViewer)
MinZoomSize published Minimal size of the zooming rectangle.
Mode published Determines how the viewer reacts to mouse input.
ModeMouseButton published Mouse button used for mode operations such as dragging and selecting.
MultiUserMode published Multi-user mode setting for the viewer.
(Implements IGIS_Viewer.MultiUserMode)
Opacity published Standard FireMonkey (FMX) property.
OverlappedExtentMargin public Overlapped extent margin in pixels.
(Implements IGIS_Viewer.OverlappedExtentMargin)
Padding published Standard FireMonkey (FMX) property.
PopupMenu published Standard FireMonkey (FMX) property.
Position published Standard FireMonkey (FMX) property.
PPI public Rendering resolution in pixels per inch.
(Implements IGIS_Viewer.PPI)
ProgressiveUpdate published Progressive update threshold in milliseconds.
(Implements IGIS_Viewer.ProgressiveUpdate)
ProjectFile public Project file itself as opened in Open procedure.
(Implements IGIS_Viewer.ProjectFile)
ProjectName public Project file name as opened in Open procedure.
(Implements IGIS_Viewer.ProjectName)
Renderer public Currently active renderer.
RestrictedDrag published If True, dragging outside the map extent is not allowed.
(Implements IGIS_Viewer.RestrictedDrag)
RestrictedExtent public Restricted map extent.
(Implements IGIS_Viewer.RestrictedExtent)
RotationAngle published Standard FireMonkey (FMX) property.
(Implements IGIS_Viewer.RotationAngle)
RotationAngleEx public
RotationCenter published Standard FireMonkey (FMX) property.
RotationPoint public Point of viewer rotation in map units.
(Implements IGIS_Viewer.RotationPoint)
Scale public Sets and gets the scale factor.
(Implements IGIS_Viewer.Scale)
ScaleAsFloat public Sets and gets the scale factor.
(Implements IGIS_Viewer.ScaleAsFloat)
ScaleAsText public Sets and gets the scale factor as text in the format '1:10000'.
(Implements IGIS_Viewer.ScaleAsText)
SelectionColor published Color for selected objects.
SelectionGisColor public Color used to highlight selected objects.
(Implements IGIS_Viewer.SelectionGisColor)
SelectionOutlineOnly published If True, polygons are marked only with an outline and not filled.
(Implements IGIS_Viewer.SelectionOutlineOnly)
SelectionTransparency published Transparency value for selection.
(Implements IGIS_Viewer.SelectionTransparency)
SelectionWidth published Outline width of selection area (>0 in twips, <0 in pixels).
(Implements IGIS_Viewer.SelectionWidth)
Size published Standard FireMonkey (FMX) property.
SystemPPI public System resolution in pixels per inch (PPI).
(Implements IGIS_Viewer.SystemPPI)
TabOrder published Standard FireMonkey (FMX) property.
TabStop published Standard FireMonkey (FMX) property.
TemporaryScaleInternal public Temporarily forces rendering to use a scale different from the current viewer scale.
(Implements IGIS_Viewer.TemporaryScaleInternal)
TemporaryVisibleExtent public Temporary visible extent used to force label rendering while drawing with tiles.
(Implements IGIS_Viewer.TemporaryVisibleExtent)
TiledPaint published True if partial drawing to the screen is done in tiled mode.
(Implements IGIS_Viewer.TiledPaint)
TouchTargetExpansion published Standard FireMonkey (FMX) property.
UponDestroy public True if the viewer is being destroyed, so some operations such as screen updates should not be performed.
(Implements IGIS_Viewer.UponDestroy)
UseAnimations published True if zoom animations are allowed.
(Implements IGIS_Viewer.UseAnimations)
UseRTree published True if an RTree spatial index will be used by default when a layer is created.
(Implements IGIS_Viewer.UseRTree)
View3D public Indicates whether 3D mode is enabled for the viewer.
Viewer3D public Optional 3D viewer interface used when 3D mode is enabled.
ViewerParent public Parent object for the current IGIS_Viewer instance.
(Implements IGIS_Viewer.ViewerParent)
ViewerParentRoot public Root parent for the current IGIS_Viewer object.
(Implements IGIS_Viewer.ViewerParentRoot)
Viewport public Sets and gets the upper-left corner position of the component window within the map.
(Implements IGIS_Viewer.Viewport)
Visible published Standard FireMonkey (FMX) property.
VisibleExtent public Extent of the map visible in the window.
(Implements IGIS_Viewer.VisibleExtent)
Width published Standard FireMonkey (FMX) property.
Zoom public Sets and gets the relative zoom factor.
(Implements IGIS_Viewer.Zoom)
ZoomEx public Sets and gets the absolute zoom factor.
(Implements IGIS_Viewer.ZoomEx)

Events

Inherited Protected
Name Visibility Description
AfterPaintEvent published AfterPaint event.
AfterPaintRendererEvent published AfterPaintRenderer event.
AfterProjectOpenEvent published AfterProjectOpen event.
AfterUpdateEvent published AfterUpdate event.
BeforePaintEvent published BeforePaint event.
BeforePaintRendererEvent published BeforePaintRenderer event.
BeforeUpdateEvent published BeforeUpdate event.
BusyEvent published Busy event.
EditorChangeEvent published Fired after any change made by the editor.
EditorPointChangeEvent published EditorPointChange event.
EditorPointMoveEvent published EditorPointMove event.
EditorSnapPointEvent published EditorSnapPoint event.
ExtentChangeEvent published ExtentChange event.
HelpEvent published Help event.
LayerAddEvent published LayerAdd event.
LayerDeleteEvent published LayerDelete event.
ModeChangeEvent published Fired when the viewer mode changes.
OnApplyStyleLookup published Standard FireMonkey (FMX) event.
OnCanFocus published Standard FireMonkey (FMX) event.
OnClick published Standard FireMonkey (FMX) event.
OnDblClick published Standard FireMonkey (FMX) event.
OnDragDrop published Standard FireMonkey (FMX) event.
OnDragEnd published Standard FireMonkey (FMX) event.
OnDragEnter published Standard FireMonkey (FMX) event.
OnDragLeave published Standard FireMonkey (FMX) event.
OnDragOver published Standard FireMonkey (FMX) event.
OnEnter published Standard FireMonkey (FMX) event.
OnExit published Standard FireMonkey (FMX) event.
OnKeyDown published Standard FireMonkey (FMX) event.
OnKeyUp published Standard FireMonkey (FMX) event.
OnMouseDown published Standard FireMonkey (FMX) event.
OnMouseEnter published Standard FireMonkey (FMX) event.
OnMouseLeave published Standard FireMonkey (FMX) event.
OnMouseMove published Standard FireMonkey (FMX) event.
OnMouseUp published Standard FireMonkey (FMX) event.
OnMouseWheel published Standard FireMonkey (FMX) event.
OnPaint published Standard FireMonkey (FMX) event.
OnPainting published Standard FireMonkey (FMX) event.
OnResize published Standard FireMonkey (FMX) event.
PaintExceptionEvent published PaintException event.
PaintExtraEvent published PaintExtra event.
PasswordEvent published Password event.
ProjectCloseEvent published ProjectClose event.
ProjectOpenEvent published ProjectOpen event.
TapDoubleEvent published TapDouble event.
TapLongEvent published TapLong event.
TapSimpleEvent published TapSimple event.
VisibleExtentChangeEvent published VisibleExtentChange event.
ZoomChangeEvent published ZoomChange event.

Remarks

PURPOSE: Serves as the primary FireMonkey map viewer control, bridging the user interface with rendering, layer management, navigation, selection, editing, printing, and optional 3D viewing.

BEHAVIOR: Presents map content on screen, manages repainting and viewport state, and converts between screen and map coordinates. It also handles mouse, touch, tap, and gesture input for interactive map operations.

CONSTRAINTS: For bitmap output useinstead of this windowed control. Optional 3D functionality is available only when an backend is assigned.

Available metadata keys:

Metadata Values Default Description
TGIS_ViewerWnd.Paint.NavigateFeedback.FullCache TRUE FALSE TRUE If true then all labels, selections, and topmost layers will be visible upon scaling, dragging etc.
TGIS_ViewerWnd.Paint.Progressive.Transparency 0..100 60 Long-term operations will be drawn as semitransparent.
TGIS_ViewerWnd.Paint.Progressive.FullCache TRUE FALSE TRUE If true then long-term operations will be drawn behind last cached view.
TGIS_ViewerWnd.Paint.LabelsOnTop TRUE FALSE FALSE If true then labels are drawn on top.
TGIS_ViewerWnd.Paint.Topmost.LabelsOnTop TRUE FALSE FALSE If true then for topmost layers labels are drawn on top.

Available metadata keys:

Metadata Values Default Description
TGIS_ViewerWnd.Mode.Drag.AllGestures TRUE
FALSE
FALSE If true then all gestures (pan and zoom) are enabled.
If false then pan gesture simulates the mouse.
TGIS_ViewerWnd.Mode.Zoom.AllGestures TRUE
FALSE
FALSE If true then all gestures (pan and zoom) are enabled.
If false then pan gesture simulates the mouse.
TGIS_ViewerWnd.Mode.Select.AllGestures TRUE
FALSE
TRUE If true then all gestures (pan and zoom) are enabled.
If false then no gestures are enabled.
TGIS_ViewerWnd.Mode.Edit.AllGestures TRUE
FALSE
TRUE If true then zoom and 2-finger pan gestures are enabled.
If false then zoom and 2-finger pan gestures are disabled.
TGIS_ViewerWnd.Viewer3D.Mode.CameraPosition.AllGestures TRUE
FALSE
FALSE If true then zoom gesture is enabled.
If false then zoom gesture is disabled.
TGIS_ViewerWnd.Viewer3D.Mode.CameraXY.AllGestures TRUE
FALSE
FALSE If true then zoom gesture is enabled.
If false then zoom gesture is disabled.
TGIS_ViewerWnd.Viewer3D.Mode.CameraXYZ.AllGestures TRUE
FALSE
FALSE If true then zoom gesture is enabled.
If false then zoom gesture is disabled.
TGIS_ViewerWnd.Viewer3D.Mode.CameraRotation.AllGestures TRUE
FALSE
FALSE If true then zoom gesture is enabled.
If false then zoom gesture is disabled.
TGIS_ViewerWnd.Viewer3D.Mode.SunPosition.AllGestures TRUE
FALSE
FALSE If true then zoom gesture is enabled.
If false then zoom gesture is disabled.
TGIS_ViewerWnd.Viewer3D.Mode.Zoom.AllGestures TRUE
FALSE
FALSE If true then all gestures (pan and zoom) are enabled.
If false then pan gesture simulates the mouse.
TGIS_ViewerWnd.Viewer3D.Mode.Select.AllGestures TRUE
FALSE
TRUE If true then all gestures (pan and zoom) are enabled.
If false then no gestures are enabled.

References

2026/10/31 22:58

Page Tools