Options
All
  • Public
  • Public/Protected
  • All
Menu

This class is used to create a MapType that renders image tiles.

Hierarchy

  • ImageMapTypeOptions

Index

Properties

Optional alt

alt?: null | string

Alt text to display when this MapType's button is hovered over in the MapTypeControl.

Optional getTileUrl

getTileUrl?: null | ((a: Point, b: number) => null | string)

Returns a string (URL) for given tile coordinate (x, y) and zoom level.

Optional maxZoom

maxZoom?: null | number

The maximum zoom level for the map when displaying this MapType.

Optional minZoom

minZoom?: null | number

The minimum zoom level for the map when displaying this MapType. Optional.

Optional name

name?: null | string

Name to display in the MapTypeControl.

Optional opacity

opacity?: null | number

The opacity to apply to the tiles. The opacity should be specified as a float value between 0 and 1.0, where 0 is fully transparent and 1 is fully opaque.

Optional tileSize

tileSize?: null | Size

The tile size.

Generated using TypeDoc