class_docstr: The Tiles element represents tile sources, specified as URL
  containing different template variables or xyzservices.TileProvider.
  These variables correspond to three different formats for specifying the spatial
  location and zoom level of the requested tiles:
  
    * Web mapping tiles sources containing {x}, {y}, and {z} variables
  
    * Bounding box tile sources containing {XMIN}, {XMAX}, {YMIN}, {YMAX} variables
  
    * Quadkey tile sources containing a {Q} variable
  
  Tiles are defined in a pseudo-Mercator projection (EPSG:3857)
  defined as eastings and northings. Any data overlaid on a tile
  source therefore has to be defined in those coordinates or be
  projected (e.g. using GeoViews).
class_docstr_tok: ["The","Tiles","element","represents","tile","sources",",","specified","as","URL","containing","different","template","variables","or","xyzservices.TileProvider",".","These","variables","correspond","to","three","different","formats","for","specifying","the","spatial","location","and","zoom","level","of","the","requested","tiles",":","*","Web","mapping","tiles","sources","containing","{","x","}",",","{","y","}",",","and","{","z","}","variables","*","Bounding","box","tile","sources","containing","{","XMIN","}",",","{","XMAX","}",",","{","YMIN","}",",","{","YMAX","}","variables","*","Quadkey","tile","sources","containing","a","{","Q","}","variable","Tiles","are","defined","in","a","pseudo-Mercator","projection","(","EPSG:3857",")","defined","as","eastings","and","northings",".","Any","data","overlaid","on","a","tile","source","therefore","has","to","be","defined","in","those","coordinates","or","be","projected","(","e.g",".","using","GeoViews",")","."]
code: def __init__(self, data=None, kdims=None, vdims=None, **params):
      from bokeh.models import MercatorTileSource
  
      if isinstance(data, MercatorTileSource):
          data = data.url
      elif data is not None and not isinstance(data, (str, dict)):
          raise TypeError(
              f"{type(self).__name__} data should be a tile service URL or "
              f"xyzservices.TileProvider not a {type(data).__name__} type."
          )
      super().__init__(data, kdims=kdims, vdims=vdims, **params)
  
file_path: holoviews/holoviews/element/tiles.py
imports: from types import FunctionType
  import numpy
  import param
  from ..core.dimension import Dimension
  from ..core.element import Element2D
  from ..util.transform import easting_northing_to_lon_lat, lon_lat_to_easting_northing
label_desc: Use image node_id 1 to create a new Tiles object from inherited base classes: Element2D with example: obj = Tiles(data, kdims, vdims)