Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DataSourceConfiguration

The DataSourceConfiguration interface is used to represent a spatial datasource.

example



var config = { id: 175, type: 'esri', name: 'Districts', url: "http://tlbstws4.dot.state.fl.us/ArcGIS/rest/services/GEV_DMS/MapServer/175", features: false, layers: true, basemap: false, activeByDefault: true };

Hierarchy

  • DataSourceConfiguration

Index

Properties

activeByDefault

activeByDefault: boolean

Make it active when it loads.

allowQuery

allowQuery: boolean

Allow query functionality.

allowView

allowView: boolean

Allow users to view the layer.

basemap

basemap: boolean

Is a Base Map.

features

features: boolean

Is a feature source.

id

id: any

The unique id of the datasource.

layers

layers: boolean

Is a layer source.

name

name: string

The name of the datasource.

type

type: string

The datasource type. ('esri','kml','shapefile').

url

url: string

The url of the datasource.