-
Notifications
You must be signed in to change notification settings - Fork 68
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
Bounds on the Map: zoom to + highlight the area of transformation #3
Comments
Related to #4 - the list of transformations and their bounds may be passed into JavaScript - instead of only single bounds. |
Bounds (both WGS 84 and projected) should also be available as text output. |
@tormi Please create a new ticket for this idea - with more details about what you have in mind. I am not sure if what you want is directly related to this ticket. I expect you have in mind an interface similar to: http://boundingbox.klokantech.com/. Correct? It may be challenging for non-WGS84 - in some projections the border lines may be curved, and the rectangle degraded to general polygon. It would be doable only with Proj4js and only for subset of coordinate systems. Note: The transformations and coordinate systems in EPSG database have only link to an Area. Area has a universal bounds only in WGS84. There is no record for projected bounds of a coordinate system in the official database - we would need to handle it with our own external database - if you want bounds such as these used for generating tile pyramids in WMTS for given coordinate system. BTW feel free to contribute with a pull request - EPSG.io is an open source project. |
Ok
Correct, I meant bounding box coordinates as in http://spatialreference.org/ref/epsg/4326/ Tormi |
Wow, already implemented :) Thanks! |
The Map page (e.g. /4326/coordinates) should display bounds of transformation - and zoom the these by default. (now the zoom is fixed :-().
The bounds should be passed instead of the center lon/lat from the HTML to JavaScript.
For displaying the bounds on the map we may use the trick similar to http://www.kartenportal.ch/kartensammlungen/ - as it is described at:
http://stackoverflow.com/questions/2956355/highlight-polygon-and-tint-rest-of-map-using-google-maps
The text was updated successfully, but these errors were encountered: