Click or drag to resize

Telogis.GeoBase.MapLayers.ViewportReferenceLayer

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release

MapLayers.ViewportReferenceLayer inherits from MapLayers.CanvasLayer.

A class for displaying a shaded rectangular region on a map to correspond to the viewport of another map.

Constructor
NameDescription
MapLayers.ViewportReferenceLayer(config)

Arguments

  • config (Object) - Configuration options for the layer.

    Properties
    NameTypeDescription
    borderWidthNumber

    The border width for the region, in pixels.

    Defaults to 1.
    colorColor

    The RGBA color (and opacity) with which to shade the region. The same color will be used for the border (if enabled), except that it will be fully opaque.

    This property may also be referenced by the name: colour.
    viewportWidgets.Map

    The viewport to create a region from.

    Defaults to null.