Openlayers:GeoServer WMS在平移和缩放时会出现奇怪的行为

时间:2015-10-01 01:58:00

标签: openlayers geoserver wms

enter image description here

当您注意到上图时,在平移和缩放期间,图层不会正确重新投影。我已应用tilesorigin属性但仍然会发生。

floodMapCBR = new OpenLayers.Layer.WMS("Near-real Time", geoserver_url, {
        srs: "EPSG:32651",
        layers: "cite:evidensapp_floodhazard",
        format: "image/png8",
        gridSet: "EPSG:4326",
        transparent: !0,
        tiled: !0,
        styles: "cite:Hazard Map",
        tilesorigin: map.maxExtent.left + ',' + map.maxExtent.bottom
    }, {
        displayInLayerSwitcher: !1
    }, {
       buffer: 0,
        isBaseLayer: !1

    })

是什么导致的?

但是当图层完全加载时,它就消失了(海上的图层),并且它被正确地重新投影。

0 个答案:

没有答案