Add support for Carmenta Server hi-DPI WMS requests

This commit is contained in:
Tom Payne
2014-02-28 14:14:52 +01:00
parent 60bba9aa12
commit 2482a3fb9f
3 changed files with 3 additions and 0 deletions

View File

@@ -284,6 +284,7 @@ ol.source.ImageWMS.prototype.getRequestUrl_ =
case ol.source.wms.ServerType.MAPSERVER:
goog.object.set(params, 'MAP_RESOLUTION', 90 * pixelRatio);
break;
case ol.source.wms.ServerType.CARMENTA_SERVER:
case ol.source.wms.ServerType.QGIS:
goog.object.set(params, 'DPI', 90 * pixelRatio);
break;