OpenLayers-KML矢量层zIndexing反转,但打开放大/缩小

OpenLayers-KML矢量层zIndexing反转,但打开放大/缩小,openlayers,Openlayers,我遇到了一个问题,我的kml向量层中的数据层是反向的,所以我看不到最高的多边形应该是什么,因为它隐藏在最低的多边形下面。当我使用鼠标滚轮放大或缩小时,其中一些会重新对齐并变得可见,但不是全部。发生了什么事 var HPC = new OpenLayers.Layer.Vector("Day 1 QPF", { strategies: [new OpenLayers.Strategy.Fixed()], checkedGroup : 'HPC Pre

我遇到了一个问题,我的kml向量层中的数据层是反向的,所以我看不到最高的多边形应该是什么,因为它隐藏在最低的多边形下面。当我使用鼠标滚轮放大或缩小时,其中一些会重新对齐并变得可见,但不是全部。发生了什么事

var HPC = new OpenLayers.Layer.Vector("Day 1 QPF", {
            strategies: [new OpenLayers.Strategy.Fixed()],
            checkedGroup : 'HPC Precipitation Forecasts',
            sphericalMercator : true,
            rendererOptions : {zIndexing : true},
            projection : new OpenLayers.Projection("EPSG:4326"),
            visibility : true,
            protocol: new OpenLayers.Protocol.HTTP({
                url: "resource/hpc/QPF24hr_Day1_latest_netlink.kml",
                format: new OpenLayers.Format.KML({
                    extractStyles: true, 
                    extractAttributes: true,
                    maxDepth: 2
                })
            })
        });

        map.addLayer(HPC);

原来是格式不正确的KML打破了这一层。还是奇怪的行为…因为它部分出现了。

可能是格式不正确的kml?我通过验证:结果失败了。