Structures

CellFeature

model that provide grid cell feature for shapes

  • type

    Properties

  • properties

  • geometry

  • init(_:)

    initialize modal with grid cell geometry properties

  • init(from:)

    Decode the modal

CellGeometry

model that provide geometry for map features

  • type

    Properties

  • coordinates

  • init(_:_:)

    initialize modal with geometry properties

  • init(from:)

    Decode the modal

Config

This model provide all the required properties to configure the map

  • apiKey

    Variables

  • vpmId

  • gridControl

  • tilesSelectorControl

  • init(_:_:_:_:)

    Initialize the modal

    • apiKey: API Key
    • vpmId: VPM ID
    • gridControl: flag to hide/show grid control
    • tilesSelectorControl: flag to hide/show tile selector control

  • init(from:)

    decodes the modal

Feature

model that provide feature for shapes

  • type

    Properties

  • properties

  • geometry

  • init(_:)

    initialize modal with geometry properties

  • init(from:)

    Decode the modal

FeatureCollection

struct that provide geoJSON for grid

  • type

  • features

  • init(_:)

    initialize modal with array of Features

  • init(from:)

    Decode the modal

Geometry

model that provide geometry for map features

  • type

    Properties

  • coordinates

  • init(_:_:)

    initialize modal with geometry properties

  • init(from:)

    Decode the modal

Structures

The following structures are available globally.

  • GridControlOptions

    class that provide all required values to draw grid

    See more
  • GridCell

    Class that provide grid cell properties

  • FeatureCollection

    struct that provide geoJSON for grid

    See more
  • Feature

    model that provide feature for shapes

    See more
  • CellFeature

    model that provide grid cell feature for shapes

    See more
  • Geometry

    model that provide geometry for map features

    See more
  • CellGeometry

    model that provide geometry for map features

    See more
  • Config

    This model provide all the required properties to configure the map

    See more

GridControlOptions

class that provide all required values to draw grid

  • init()

    initialize the modal with all default values

  • init(_:_:_:_:_:)

    initialize the modal with custom values