Hi -
I'm trying to figure out how to set the levels of detail at 4.0 to control zoom extents. Is there a way at this time to set at the map or mapview class?
Thanks
David
Solved! Go to Solution.
Are you looking for something like LOD in constraints
Are you looking for something like LOD in constraints
Yes Thejus, that's exactly it, I should have been more clear. I've got my lods var set in an array:
var myLods = [{"level" : 0, "resolution" : 4891.96981024998, "scale" : 18489297.737236}, {"level" : 1, "resolution" : 2445.98490512499, "scale" : 9244648.868618} . . . ];
then set my view constraints:
view.constraints = { effectiveLODs : myLods };
can't see seem to get past an accessor type error
I got it, thanks for the help:
view.constraints = { lods : myLods };