@three-tile/plugin
    Preparing search index...

    Class BingSource

    Bing datasource

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown

      Any data

    Index

    Constructors

    Properties

    _projectionBounds: [number, number, number, number]

    Projected data bounds

    attribution: string = "Bing[GS(2024)0999号]"

    Copyright attribution information for the data source, used for displaying map copyright notices

    bounds?: [number, number, number, number]

    Data bounds in format [minLon, minLat, maxLon, maxLat]. Default is undefined

    dataType: string = "image"

    Data type that determines which loader to use for loading and processing data. Default is "image" type

    isTMS: boolean

    Whether to use TMS tile coordinate system. Default false uses XYZ system, true uses TMS system

    maxLevel: number = 19

    Maximum zoom level supported by the data source. Default is 18

    minLevel: number

    Minimum zoom level supported by the data source. Default is 0

    mkt: string = "zh-CN"
    opacity: number

    material opacity. Range 0-1, default is 1.0 (completely opaque)

    projectionID: ProjectionType

    Data projection type. Default is "3857" Mercator projection

    style: string = "A"
    subdomains: string = "1"

    List of URL subdomains for load balancing. Can be an array of strings or a single string

    transparent: boolean

    Whether the material is transparent. Default is true (transparent)

    url: string = "https://t{s}.dynamic.tiles.ditu.live.com/comp/ch/{key}?mkt={mkt}&ur=CN&it={style}&n=z&og=804&cstl=vb"

    URL template for tile data. Uses variables like {x},{y},{z} to construct tile request URLs

    Methods

    • Get url from tile coordinate, public, overwrite to custom generation tile url from xyz

      Parameters

      • x: number

        tile x coordinate

      • y: number

        tile y coordinate

      • z: number

        tile z coordinate

      Returns string | undefined

      url tile url

    • Create source directly through factoy functions.

      Parameters

      • options: SourceOptions

        source options

      Returns TileSource

      ISource data source instance