API Docs for: 0.1.0
Show:

L.PtvLayer.AbstractOverlay Class

Extends L.ILayer
Module: L.PtvLayer

Provides the PTV AbstractOverlay Layer class.

Constructor

L.PtvLayer.AbstractOverlay

(
  • options
)

Parameters:

  • options Object

    The options object

    • [format] String optional

      The image format used in tile requests.

    • [beforeSend] String optional

      Function to be called before sending the request with the request object given as first parameter. The (modified) request object must be returned.

Methods

L.PtvLayer.AbstractOverlay

(
  • client
  • options
)

Constructor

Parameters:

  • client XMapClient

    optional XMapClient object

  • options Object

    optional options object

Properties

options

Object

Default options used in this class.

options.beforeSend

Function

Function to be called before sending the request with the request object given as first parameter. The (modified) request object must be returned.

Default: null

options.bounds

L.LatLngBounds

The world bounds for PTV Maps.

Default: [[85.0, -178.965000], [-66.5, 178.965000]]

options.format

String

The image format used in tile requests.

Default: "PNG"