Back to Openlayers

Mapserver Wms

examples/mapserver-wms.html

10.9.0607 B
Original Source

--- layout: example.html title: MapServer WMS shortdesc: Example of a MapServer WMS map. docs: > Example of a map generated using a MapServer WMS, with an ImageSource and a createLoader function.

You only need to set serverType if hidpi is true. On high-DPI screens, OpenLayers automatically calculates the map's pixelRatio and sends an additional MAP_RESOLUTION parameter to MapServer to ensure fonts and symbols render correctly. tags: "mapserver, wms, image" ---