给定来自http://spatialreference.org/的配置
Proj4js.defs["EPSG:32632"] = "+proj=utm +zone=32 +ellps=WGS84 +datum=WGS84 +units=m +no_defs";如何告诉openlayer 3在对点进行变换时使用此功能?
var p1 = openLayers.proj.transform([result.Footprint[0][0] + i.easting(), result.Footprint[1][0] + i.northing()], 'EPSG:32632', 'EPSG:3857');发布于 2014-09-05 16:47:58
OpenLayers 3现在使用的是Proj4js 2.2,Proj4js 1.x支持不再可用。
而Proj4js 2.2使用了不同的投影定义。对于您的示例,使用来自http://epsg.io/的定义,即http://epsg.io/32632.js
https://stackoverflow.com/questions/23449427
复制相似问题