Zexi Li
Zexi Li

Reputation: 452

OL3: Is it possible adding different layers with different projections in one map using openlayers3?

I want to add two different layers in one map. A is using EPSG:4326 projection, while B is using EPSG:3857 projection. When I tried this with openlayers3, some error come out. I can't find function like setProjection in ol.View, it seems that openlayers3 do not support this action.


But when i use Cesium, Cesium support this. What can i do if i have to do this with openlayers3?

Upvotes: 0

Views: 534

Answers (1)

ahocevar
ahocevar

Reputation: 5648

OpenLayers 3 can reproject vector data sources without any problem. But since you mention Cesium, I guess you are asking about raster sources. Raster reprojection is currently not possible, but it is a planned feature.

Upvotes: 1

Related Questions