Interface ProjectionRegistration
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
GeoMapProjectionRegistration
Register new projection in
GeoMap
globally in application.
Then the projection can be set in component GeoMap.setProjection(CRS)
.
Note, that GeoMap.setProjection(CRS)
sets for all map components on WEB page.
Projection should be in PROJ.4 format. For instance:
@Bean public ProjectionRegistration proj27700() { return new GeoMapProjectionRegistration("EPSG:27700", "+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 " + "+x_0=400000 +y_0=-100000 +ellps=airy " + "+towgs84=446.448,-125.157,542.06,0.15,0.247,0.842,-20.489 " + "+units=m +no_defs"); }
- See Also:
-
Method Summary