Well I solved the problem. The map data was in a different projection than it
said on the label. The real projection was 2392. After switching the
MapServer'S layer settings to this projection everything fell in place.
Thank you for everybody for helping me out! It was appriciated.
- Henrik
--
On Fri, Feb 12, 2010 at 06:14:02AM -0800, Henrik Collin wrote:
I changed the maxExtent and Resolution and it did some good.
This is how it looks now:
maxResolution: 2,
maxExtent: new OpenLayers.Bounds(-20037508.34, -20037508.34, 20037508.34,
20037508.34)
The scale of the map is
Hello,
I am currently trying to build a service that shows a map in a webpage with
OpenLayers. The OpenLayers requests the map data from MapServer by using WMS
and then draws some features in a layer on top of the map data.
My main problem is that the loaded map shows as a tiny dot in the
On Fri, Feb 12, 2010 at 12:14:46AM -0800, Henrik Collin wrote:
Hello,
I am currently trying to build a service that shows a map in a webpage with
OpenLayers. The OpenLayers requests the map data from MapServer by using WMS
and then draws some features in a layer on top of the map data.
I changed the maxExtent and Resolution and it did some good.
This is how it looks now:
maxResolution: 2,
maxExtent: new OpenLayers.Bounds(-20037508.34, -20037508.34, 20037508.34,
20037508.34)
The scale of the map is 1:2 in meters and that Extent is the max extent
of the epsg:2393. It
On Fri, Feb 12, 2010 at 06:14:02AM -0800, Henrik Collin wrote:
I changed the maxExtent and Resolution and it did some good.
This is how it looks now:
maxResolution: 2,
maxExtent: new OpenLayers.Bounds(-20037508.34, -20037508.34, 20037508.34,
20037508.34)
The scale of the map is