Q: How to use the other coordinate system except that the (EPSG:4326,CRS:84,urn:ogc:def:crs:EPSG:6.6:4326,EPSG:900913,EPSG:3857,EPSG:102113,EPSG:102100) support by iServer by default to conduct coordinate projection transformation in iClient for Javascript?

A: The coordinate projection transformation class SuperMap.Projection provided by JavaScript is used to transform projection on the client. For the custom coordinate system, you need to introduce the Proj4js.js package (../exampless/proj4js/lib/); For example, define the epsg code to 32652 coordinate system: Proj4js.defs[“EPSG:32652”]=”parameter string”; The parameter string is got in the pro4js website http://spatialreference.org/ref/epsg/[epsg code]/proj4/. After the coordinate system is defined, the ” EPSG:32652” can use it.


09 Jul,2019
Tags:iclient

More iClient FAQ