AnsweredAssumed Answered

ArcGIS API for JavaScript: StreamLayer: geometryDefinintion

Question asked by tod_stevens@sdsi.com.au on Oct 16, 2014
Latest reply on Feb 11, 2016 by carisasmith

Has anyone been able to make the geometryDefinition work with the StreamLayer sample?

Has anyone been able to make the setDefinitionExpression work with the StreamLayer sample?

 

This has no effect:

  streamLayer.setDefinitionExpression("RouteID < 50");

 

 

 

I set an extent and pass it in but all features still draw on the map?

 

var layer = new StreamLayer(featureCollection, {

              socketUrl: txtWsUrl.value,

              purgeOptions: { displayCount: 500 },

             geometryDefinition : myextent,

Outcomes