Options
All
  • Public
  • Public/Protected
  • All
Menu

Add ArcGIS Feature Layers to MapBox GL JS maps as a geojson source. These data sources can be styled using output from or custom layers that reference the provided source id.

Usage

import { ArcGISVectorSource } from "mapbox-gl-esri-sources";

// setup map...

const esriSource = new ArcGISVectorSource(
  map,
  'cities-source-id',
  "https://sampleserver6.arcgisonline.com/arcgis/rest/services/SampleWorldCities/MapServer/0"),
  {
    geometryPrecision: 5,
    outFields: "POP,CITY_NAME"
  }
);
class

ArcGISVectorSource

Hierarchy

  • ArcGISVectorSource

Index

Constructors

Properties

Constructors

constructor

Properties

Protected id

id: string

Protected source

source: GeoJSONSource

GeoJSONSource instance added to the map

type

{GeoJSONSource}

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc