Unable to use map with a different projection (EPSG:21781)
I'm trying to configure EasySDI MAP (to use with SHOP component) in EPSG:21781 (Swiss CH1903 / LV03) but it fails (or.. I failed ;-) ).
If I configure a map with "EPSH:21781", I got an error on map display:
OpenLayers.Projection.defaults[projCode] is undefined
Thomas advised me to try inserting the proj4 definition in the srs field (see screenshot)
+proj=somerc +lat_0=46.95240555555556 +lon_0=7.439583333333333 +k_0=1 +x_0=600000 +y_0=200000 +ellps=bessel +towgs84=674.374,15.056,405.346,0,0,0,0 +units=m +no_defs).
I don't have this error with this config, but I'm unable to add a functional layer.
Does anyone use EasySDI map with a projection different than WGS84 or Web Mercator?
I see that proj4js is bundled in EasySDI libraries but is not loaded in map, is that a way of fixing it...?
srs_def_in_field.PNG (39.1 KB)