Skip to content
  1. API
  2. Types

BaseMapOptions

Type: object

Properties

  • BaseMapOptions(optional)
    • subdomains(optional) string[='abc'] Format of the URL used to search for tiles.
    • tms(optional) boolean[=false] Useful when using a TMS service.
    • url(optional) string Format of the URL used to search for tiles. Must contain '{z}' (zoom level of the tile), '{x}' and '{y}' (coordinates of the tile). Possible '{s}' (replaced by one of the characters in the tileUrlSubdomains setting). Possible '{r}' for tile servers who support retina tiles.
    • wms(optional) boolean[=false] Useful when using a WMS service. For custom WMS parameters the Leaflet WMS TileLayer options can be used as reference for additional parameters to be set