Hi community, we are building a mobile web using OL3, in me Samsung S4 mini 
works properly however in the LG P714 works very slow, sometimes the map 
container goes in black color and others freeze short times when we pan the map.

 

Maybe any people know how we can improvement the performance? 

 

This is what we use: (the same happened if we use google map source)

 

HTML:

 

<div style="padding-top: 0;margin-top:0" data-role="content" 
class="ui-field-contain ui-content jqm-content jqm-fullwidth" 
id="mainContentMap">
    <div id="mapaVehicleActions"></div>
</div>

 

JS:

var wmssource = new ol.source.TileWMS({

    url: 'xxxxpy',

    params: {

        layers: "World",

        reaspect: false,

        format: 'image/png',

        transparent: true

    },

});

var wmslayer = new ol.layer.Tile({

    source: wmssource,

    preload: Infinity 

});

view = new ol.View({

    center: ol.proj.transform([latlongMap[0], latlongMap[1]], 
transformGTSSource, transformGTSDestination),

    zoom: 17

});

 

mapObj.map = new ol.Map({

    view: view,

    layers: [wmslayer],

    target: divMap

});

   

 

var center = view.getCenter();

 

 

 

 

Cordialmente,

 

Franklin Garzón

Asesor de Tecnología

 

Skype:    fgarzonhz

Tel.:        (593) 994496862

Oficina:  (593) 22246883

 

Global Tracking Solutions

De los Motilones N40-342 y Miguel Albornoz, Quito-Ecuador

 <http://www.gtskybase.com/> http://www.gtskybase.com 

-- 

_______________________________________________
Dev mailing list
d...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to