OpenLayers 3 display wfs EPSG:4326 on EPSG:3857 map

المشرف العام

Administrator
طاقم الإدارة
Is it possible in OpenLayers 3 to project an EPSG:4326 wfs vector layer on to say a MapQuest EPSG:3857 map?

I've tried the following code (modifying this example Open Layers 3 wfs example, but the 4326 layer co-ords get interpreted as 3857 and so I get a tiny drawing situated around 0 long, 0 lat.


There's obviously a reprojection needed somewhere, but where .... ?

Can anyone help?

ThanksMini



أكثر...
 
أعلى