Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FindAndZoomCommand

The FindAndZoomCommand command class is used to locate and display a feature based on input parameters. Returns an array of Q.Promise

example



var options = { featureSourceId: "http://tlbstws4.dot.state.fl.us/ArcGIS/rest/services/GEV_DMS/MapServer", featureTypeId: 'http://tlbstws4.dot.state.fl.us/ArcGIS/rest/services/GEV_DMS/MapServer/175', zoom: true, criteria: "DISTRICT='02'", resultset: false };
var command = new FindAndZoomCommand();
commmand.execute(options).then((promiseresults) => { highlight = promiseresults[1]; });

Hierarchy

  • FindAndZoomCommand

Implements

Index

Constructors

constructor

Properties

Private _featureSourceService

_featureSourceService: any

Private _mapmanager

_mapmanager: any

Private _resultSetManager

_resultSetManager: any

Methods

execute