[mapguide-users] Mapguide & Openlayers 3.12.1 Displaydpi for mobile/tablet devices

Greg gbneff at cid.utah.gov
Thu Jan 28 15:27:55 PST 2016


I found that using pixelRatio: 1 in the map definition and keeping
displayDpi: 96 in the layer definition works better:

map = new ol.Map({
                layers: [bingRoad, bingAerialWithLabels, mgLayer, selLayer],
                controls: controls,
                pixelRatio: 1,
                interactions: interactions,
                target: 'map',
                view: view1
            });

Greg



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapguide-Openlayers-3-12-1-Displaydpi-for-mobile-tablet-devices-tp5247003p5247904.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list