How I can use feature layer DefinitionExpression dynamically by using the javascript API 3.17?

My Flow is like bellow:

1). When area name are selected from the dropdown, the map layer is filtered by using DefinitionExpression of feature layer.

layer.setDefinitionExpression('area_name = xyz');

2). Till that this is working perfectly but there are no any layer refreshment by applying setDefinitionExpression second time. It mean that there are no any action happened after selecting area from dropdown second time.

So can you have any idea ?

Replay

Category: javascript Time: 2016-07-28 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.191 (s). 12 q(s)