groundtruth/PoziMobile

View on GitHub
js/layers/VicmapLabelClassic.js

Summary

Maintainability
A
0 mins
Test Coverage
define(['openlayers'], function (OpenLayers) {
  return function () {
    this.layer = OpenLayers.Layer.WMS.doNew('Labels',
      [
        'https://mobileproxy.pozi.com/http://basemap1.pozi.com/geoserver/wms'
      ],
      {
        layers: 'VICMAP_CLASSIC:LabelClassic',
        format: 'image/png8',
        transparent: 'true',
        authkey: 'openlayers2noauth'
      },
      {
        isBaseLayer: false,
        singleTile: true,
        ratio: 1.5
      }
    )
  }
})