Poor performance OL3

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Poor performance OL3

Franklin Garzón

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-top0;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

--


_______________________________________________
Dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/openlayers-dev
Reply | Threaded
Open this post in threaded view
|

Re: Poor performance OL3

Bart van den Eijnden-5
Please use: https://groups.google.com/forum/#!forum/ol3-dev instead for questions on ol3.

Best regards,
Bart

Bart van den Eijnden
Front End Software Engineer | Boundless
[hidden email]
<a href="tel:917-460-7207" value="+19174607207" target="_blank" style="color:rgb(17,85,204);font-family:arial;font-size:small">1-877-673-6436
@boundlessgeo



On 09 Oct 2014, at 18:23, Franklin Garzón <[hidden email]> wrote:

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-top0;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
--
_______________________________________________
Dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/openlayers-dev


_______________________________________________
Dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/openlayers-dev