URL API

Implemented

  • hslayers
  • wms
  • wfs
  • wcs
  • kml
  • panel

hslayers

Description

This parameter indicates, which layers shall be visible during map initialization. All other layers will be marked as not visible.

Format

hslayers=Layer.name[,Layer.name[,TreeLayer.name/sublayer.name[|sublayer.name[,...]]]]

  • Layer.name is attribute name of each layer
  • TreeLayer.name/sublayer.name is name of HSLayers.Layer.TreeLayer and identifier of it's sublayers
  • More TreeLayer sublayers are delimited by "pipe"

Example

hslayers=topo,ortho,MapServer/cadaster|env

Link

TODO

kml

Description

This parameter enables to add KML layer to the map during application start.

Format

kml=url

Example

kml=http://openlayers.org/dev/examples/kml-layer.js

Link

TODO

wms, wcs, wfs

Description

This parameters enable to open OWS selection dialog during map application init phase.

Format

ows=url

Example

wms=http://gis.bnhelp.cz/ows/crtopo

Link

TODO

panel

Description

Indicates, weather the sidebar (HSLayers.MapViewer.ToolsPanel) with LayerSwitcher, OWS client etc. should be collapsed during application start or not.

Format

panel=boolean

Example

panel=false

Link

TODO

Todo

Remove the panel completely from application start - not only hide (current implementation).