Skip to content

MglGeoJsonSource

See GeoJSONSource

typescript
import { MglGeoJsonSource } from '@indoorequal/vue-maplibre-gl';

Props

sourceId

  • Type: string
  • Required: true
  • Default: undefined

data

  • Type: DataType
  • Required: true
  • Default: undefined

maxzoom

  • Type: number
  • Required: false
  • Default: undefined

attribution

  • Type: string
  • Required: false
  • Default: undefined

buffer

  • Type: number
  • Required: false
  • Default: undefined

tolerance

  • Type: number
  • Required: false
  • Default: undefined

cluster

  • Type: boolean
  • Required: false
  • Default: undefined

clusterRadius

  • Type: number
  • Required: false
  • Default: undefined

clusterMaxZoom

  • Type: number
  • Required: false
  • Default: undefined

clusterMinPoints

  • Type: number
  • Required: false
  • Default: undefined

clusterProperties

  • Type: unknown
  • Required: false
  • Default: undefined

lineMetrics

  • Type: boolean
  • Required: false
  • Default: undefined

generateId

  • Type: boolean
  • Required: false
  • Default: undefined

promoteId

  • Type: undefined
  • Required: false
  • Default: undefined

filter

  • Type: undefined
  • Required: false
  • Default: undefined

Source

See source.

Released under the MIT License.