You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The soon-to-be released Viewfinder will allow users to zoom to any location on the map by entering lat, long pairs. For the first release, the view zooms to the coordinates at a hard-coded camera height, see
One possibility would be to zoom tighter based on the number of decimals supplied by the user, so for example entering 42,-71 might give you a zoom level that includes most of the state of Massachusetts, whereas 42.7, -73.1 might zoom to the town of North Adams. A calculation that makes this possible in a 2-D map wouldn't be too hard I don't think—we could just zoom to a bounding box that includes ± the last decimal values in the query to get rough extents to zoom to. This might be somewhat harder in an application like Cesium, however, and may need its own feature request depending on whether others think this is a good idea.
To summarize: zoom level should be much lower at least, and at most may be able to be calculated based on the decimal precision.
The text was updated successfully, but these errors were encountered:
The soon-to-be released Viewfinder will allow users to zoom to any location on the map by entering lat, long pairs. For the first release, the view zooms to the coordinates at a hard-coded camera height, see
metacatui/src/js/views/maps/ViewfinderView.js
Line 103 in 9d551a3
As @iannesbitt suggested:
The text was updated successfully, but these errors were encountered: