Bookmark Widget Fit Extent

Discussion created by shepa006 on Jun 13, 2013
Latest reply on Jul 10, 2013 by shepa006
I have a series of bookmarks that are in the same wkid as the map. However, for some of them if I click on the bookmark the feature extends off of the display area because it seems to be snapping to the closest Level of Detail. I'm looking for a way to force a bookmark to fit the extent to the map when I have a tiled layer (i.e. basemap) in the map; something like the setExtent(extent,fit) has Has anyone run into this before?

The workaround, that I don't like, is to zoom out by 1 level after the extent changes. This ensures that everything is visible but zooms out farther than necessary in other cases.