Tell me more ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a polygon layer consisting of 58-60 thousand records.I am displaying small number of records(2-3 thousand) using "setDefinitionExpression" expression .When I add layer at the same time i have added zoom to layer functionality but the problem is since the data is spread across in large area of map when i zoom to layer it set the extent of the entire layer rather then only the records in which it is published and since polygon are very small the feature are not visible.Is i possible to get the extent of feature which are only returned after setDefinitionExpression .I have used Example.but the looping through 2-5 thousand records is big overhead, is there any other way to do this...???

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.