I've got an application that creates an image layer as follows.  The map
is a map of North America

        var xMax=-0.5484, xMin=-178.93867, yMax=73.905330000000006,
yMin=1.0033300000000001;

        var maxBounds = new OpenLayers.Bounds(xMin, yMin, xMax, yMax);

        var imglayer = new OpenLayers.Layer.Image("MyName",
"/testsite/map_images/HCS_North_America.png",
                                                        maxBounds,
                                                        new
OpenLayers.Size(1234, 769),
                                                        {numZoomLevels:
5,isBaseLayer: true} , {maxExtent: maxBounds});
        olLayer = imglayer;
        map.addLayer(olLayer);

If I draw some objects on the map, the show up too high, that is
latitude is not correct.  If I draw the objects on a South America map
which contains the area the objects should be drawn to, they show up at
the correct place. Code to generate the map is same code with exception
of geo bounds. As others have asked, might I be missing a parameter?
Also, lower level maps seem to be showing objects in the correct
positions.

Thanks for any light anyone can shed on this.

E. Scott Stricker


_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to