Hello.
I want to know if there is a way to move the center of the map when querying a little bit.
Iam querying some feature (just 1 result) and im doing this for showing it in the center of the map.
map.centerAndZoom(featureSet.features[0].geometry.getExtent().getCenter(),20);
In my app when i do this i have a problem on visualization, thats why i want to move it to the right a little bit.
This is what i obtain: (See the blue line on the screen)
The red container is over the map, thats why when i do the center i got that.
this is what i want to get:
Thanks in advice
Evelyn,
Have you considered extent offset?
https://developers.arcgis.com/javascript/3/jsapi/extent-amd.html#offset