Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openlayers 2.11, WMS tile wrong in IE10 #1202

Open
wei1224hf opened this issue Dec 12, 2013 · 3 comments
Open

openlayers 2.11, WMS tile wrong in IE10 #1202

wei1224hf opened this issue Dec 12, 2013 · 3 comments

Comments

@wei1224hf
Copy link

qq20131212215740

The tile place is wrong

@wei1224hf
Copy link
Author

And here's the main codes:

    ,init: function(theDiv){

    var thisObj = this;
    OpenLayers.Util.onImageLoadError = function(){
         this.src = "../file/blank.png";
    };    

    gis.tianditu.map = new OpenLayers.Map({
         div: theDiv
        ,projection: "EPSG:4326"
        ,numZoomLevels: 20
        ,panMethod: null
    });    

    var street_1 = new OpenLayers.Layer.WMTS({
        name: "天地图-街道",
        url: "http://t6.tianditu.cn/vec_c/wmts",
        format: "tiles",
        layer: "vec",
        style: "default",
        matrixSet: "c",
        opacity: 0.7,                        
        isBaseLayer: true
    });  
    gis.tianditu.map.addLayers([ street_1]);

@wei1224hf
Copy link
Author

It is totaly OK in Chrome

@bartvde
Copy link
Member

bartvde commented Dec 12, 2013

can you try 2.13.1 or master?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants