Select to view content in your preferred language

How to pan selected features in Flex API?

708
1
10-19-2011 04:36 AM
VikramTripathi
Deactivated User
Dear All,
can u tell me how to pan map to a selected location or selected features by query control.....
Tags (2)
0 Kudos
1 Reply
KenBuja
MVP Esteemed Contributor
See Zoom to Query Result sample and replace the line

map.extent = graphicsExtent;

with

map.centerAt(graphicsExtent.center);
0 Kudos