Jump to main content
SIMATIC WinCC Open Architecture Version 3.18 Dokumentation
  • Highlights & Release Notes
  • WinCC OA Getting Started - Tutorial
  • DemoApplication
  • Installation
  • Projektadministration
  • Massen-Parametrierung
  • Module PARA
  • Grafik-Editor GEDI
  • System Management
  • User Interface
  • CONTROL
  • Mehrsprachigkeit
  • Addons
  • Spezialfunktionen
  • Treiber
  • Diagnostik
  • Referenztabellen
  • Sicherheit
  • Produkt Informationen
  • Videos & Tutorials
  1. Home
  2. CONTROL
  3. Control graphics
  4. Maps Widget - Eigenschaften und Funktionen
  5. getLayers()
  • CONTROL
    • Introduction to CTRL

      An introduction to the product's own programming language Control(CTRL).

    • CONTROL Classes
    • Types of Control Functions

      An overview of the types of functions distinguished within Control.

    • Control graphics
      • Graphics objects
      • Attributes of graphics objects
      • Panel functions
      • Reference Functions
      • Arc
      • AttentionEffect EWO functions
      • Bar trend
      • BarChart3D EWO
      • Button
      • Chart.ewo
      • Calendar
      • Cascade
      • Checkbox
      • Clock
      • Combobox
      • DateTimeEdit EWO functions
      • DialGauge EWO
      • DoubleSpinbox EWO
      • DpTreeView
      • DpTypeView
      • Embedded module
      • Frame
      • GIS Viewer EWO

        WinCC OA GIS Viewer provides the cartographic representation of objects in WinCC OA. This new feature provides numerous advantages, particularly in geographical distributed systems, like in Water, Traffic, Oil & Gas or Energy.

      • Label Functions
      • Layoutgroup functions
      • LCD number
      • Maps Widget - Eigenschaften und Funktionen
        • Maps Widget - Eigenschaften und Funktionen
        • addEmptyLayer()
        • addGeoDataFile()
        • addLine()
        • addPlacemark()
        • addPointToLine()
        • addPolygon()
        • addSymbol()
        • appendPolygonInnerBoundaries()
        • centerOn()
        • centerOnBox()
        • centerOnHome()
        • centerOnLine()
        • centerOnPlacemark()
        • centerOnPolygon()
        • centerOnSymbol()
        • clearLayer()
        • getLayerClickEnabled()
        • getLayerFromName()
        • getLayerName()
        • getLayers()
        • getLineColor()
        • getLinePoints()
        • getLines()
        • getLineType()
        • getLineWidth()
        • getMapCoordinates()
        • getPluginData()
        • getPolygonColor()
        • getPolygonFillPattern()
        • getPolygonInnerBoundaries()
        • getPolygonLineType()
        • getPolygonLineWidth()
        • getPolygonOuterBoundaries()
        • getPolygons()
        • getScreenCoordinates()
        • getVisibleBox()
        • hideLayer()
        • isLayerVisible()
        • isPositionVisible()
        • latLonToString()
        • layerExists()
        • lineExists()
        • moveLayerToTop()
        • pan()
        • polygonExists()
        • removeGeoDataFile()
        • removeLayer()
        • removeLine()
        • removePlacemark()
        • removePolygon()
        • removeSymbol()
        • setHome()
        • setLayerClickEnabled()
        • setLayerVisibleRange()
        • setLineColor()
        • setLineType()
        • setLineWidth()
        • setPluginData()
        • setPolygonColor()
        • setPolygonFillPattern()
        • setPolygonLineType()
        • setPolygonLineWidth()
        • setPolygonOuterBoundaries()
        • showLayer()
        • stringToLatLon()
        • zoom()
      • PDF Viewer EWO
      • PictureFlow EWO functions
      • Pipe
      • Polyline
      • Primitive text
      • Progress bar
      • Radio box
      • Rectangle
      • Reference Functions
      • Scheduler.ewo
      • Selection list
      • Slider
      • Spin button
      • Splitter
      • Tab
      • Table

        The available functions of the Table object.

      • TextEdit
      • Text field
      • Thumb wheel
      • ToggleSwitch EWO
      • Tree widget
      • Trend
      • WebView EWO

        All events and functions that are specifically available for the WebView EWO.

      • Zoom Navigator

        Functions available for the Zoom Navigator widget.

    • CONTROL Functions
    • CTRL-Debugger

      Der CTRL-Debugger ermöglicht ein Debuggen der Pogrammiersprache Control.

    • CtrlExtension

      Die CtrlExtension ermöglicht das Hinzufügen von benutzerdefiniertem C++-Code.

getLayers()

The function returns all layers of the Maps EWO.

Synopsis

dyn_int getLayers()

Parameter

Parameter Description
- -

Description

This function is used to get the layer numbers of all layers of the Maps EWO.

Assignment

Maps Widget

See also

addEmptyLayer(), clearLayer(), getLayerClickEnabled(), getLayerFromName(), getLayerName(), hideLayer(), isLayerVisible(), layerExists(), moveLayerToTop(), removeLayer(), setLayerClickEnabled(), setLayerVisibleRange(), showLayer()

SIMATIC WinCC Open Architecture Version 3.18.30 - © ETM professional control GmbH - ✉ documentation@etm.at | | | - Privacy Policy - Cookie Policy - Terms of use