Hi all,

I'm sorry if this question is asked million times, but I'm in trouble and
can't find the answer. Not sure should this be preferable in OpenLayers
mailing-list, but I'll give it a try.

I can't get vector layer from GeoServer visible in OpenLayers. I have tried
hundred different combination with the code and can't get it fixed.

The thing is that I manage to get WFS layer visible in the basemap/layers
box, but I can't see it in the map. This probably tells that maybe nothing
is wrong with GeoServer but the html/OpenLayers code.

One thing is that I have brought proj4js library since I wan't the map to
be in EPSG:3067.
<script src="proj4js/lib/proj4js-compressed.js"></script> and in init()
Proj4js.defs["EPSG:3067"] = "+proj=utm +zone=35 +ellps=GRS80 +units=m
+no_defs";

I cannot believe that this would mix the vector data I bring from
GeoServer, since it is also in this same coordinate system. Is there some
settings I should fix on GeoServer before I serve it to OpenLayers?

Any help is appreciated! Sorry I can't make the question any clearer. I
work with GeoServer 2.3.2 and Windows Server 2008 R2 Datacenter, OL 2.13.


Laura
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to