-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clipmap_bounds incorrectly set to map bounds not clip bounds #94
Comments
👍 many thanks! |
So we need to get the bounds of the clip. The clip mask is in image pixel space and not lat / lon - so we need to use the control points and warp this mask and then get the bounds from that. |
|
`var vector = new OpenLayers.Layer.Vector("GeoJSON", { var gformat = new OpenLayers.Format.GeoJSON(); var geojson = { "type": "FeatureCollection", "crs": |
…into the preview map if the map has been cropped :emoji: refs #94
I've noticed that the bounds of the Preview window, which are determined by the clipmap_bounds_merc value, seem to be the bounds of the raw map, not the clipped map, causing zoomToMaxExtent to be offcenter and too wide (framing for the uncropped map).
Originally reported here - nypl-spacetime/nypl-warper#45
The text was updated successfully, but these errors were encountered: