Map visualization zoom slider interface
|Assignee:||Kyle Monico||% Done:|
When the obesity demo starts up - the slider triangle shows the largest possible zoom out which is not what the map is showing (about mid zoom around the US).
#3 Updated by Kyle Monico almost 6 years ago
- Status changed from Open to Resolved
- % Done changed from 0 to 100
This issue was caused by the fullDataBounds of the visualization being updated after the dataBounds. The MapTool would update the zoomSlider but the fullDataBounds would be undefined, which gave a zoom level of -Infinity. The fix was to add a linkable child of the visualization to which the MapTool would add a callback.
This also fixes a related issue where adding a large layer (WMS) which is larger than the current fullDataBounds would not update the zoomSlider, although the zoomLevel would have changed.