I want to use EPSG:25832 as the default projection for all my layers. The projection is not working correctly because the Position (center point) should be in Germany but I end up in France. When I want to pan to Germany I get an "InvalidStateError". I did the following:
and
I got the extent parameter also from http://spatialreference.org/ref/epsg/etrs89-utm-zone-32n/
I saw different approaches on how the map was created (with and without the projection parameter). Is the projection needed or is it sufficient to add the "ol.proj.transform" at the Center parameter?
Before I used
center: ol.proj.transform([7.20,51.67], 'EPSG:4326', 'EPSG:3857'),
which worked fine for displaying the data. Now I am working with a WFS-T and it is necessary to use EPSG:25832. What is wrong with my projection?
أكثر...
- loaded the latest proj4j Version with
and
- defined the projection (parameter from http://spatialreference.org/ref/epsg/etrs89-utm-zone-32n/):
- created the projection:
I got the extent parameter also from http://spatialreference.org/ref/epsg/etrs89-utm-zone-32n/
- created the map:
I saw different approaches on how the map was created (with and without the projection parameter). Is the projection needed or is it sufficient to add the "ol.proj.transform" at the Center parameter?
Before I used
center: ol.proj.transform([7.20,51.67], 'EPSG:4326', 'EPSG:3857'),
which worked fine for displaying the data. Now I am working with a WFS-T and it is necessary to use EPSG:25832. What is wrong with my projection?
أكثر...