<div>Hi guys,</div>
<div>&nbsp;</div>
<div>I have one case here to select a polygon per mouse click, I just wonder if someone has ever done something like this. The Situation is:</div>
<div>&nbsp;</div>
<div>I have one layer, which contains several polygons, for example, a map layer contains all the states of&nbsp;a country, if the user click one of the polygon region, the map will be zoomed to this polygon region with a proper map scale, it means that this region will be highlighted and be zoomed to the whole map window.
</div>
<div>&nbsp;</div>
<div>Is it possible?</div>
<div>&nbsp;</div>
<div>I've tried with queryByPoint, but it's not possible to set the buffer, since the size of each polygon region differs.</div>
<div>&nbsp;</div>
<div>thanks for any information.</div>
<div>&nbsp;</div>
<div>Zhonghai</div>