[OpenLayers-Dev] Poor performance OL3
Bart van den Eijnden
bartvde at boundlessgeo.com
Thu Oct 9 10:58:54 PDT 2014
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
bartvde at boundlessgeo.com
1-877-673-6436
@boundlessgeo
On 09 Oct 2014, at 18:23, Franklin Garzón <franklin.garzon at gtskybase.com> 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-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
> --
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20141009/dcd03fd8/attachment-0001.html>
More information about the Dev
mailing list