Web Intelligent Solutions
EnglishRomana
font size Increase font size Default font size Decrease font size
screen size Narrow screen resolution Wide screen resolution Auto adjust screen size
Home arrow WISroGIS Tutorials arrow Map Interface configuration - configuration and parameters

Map Interface configuration - configuration and parameters

Print E-mail

With WisRoGIS you can enjoy a simple and efficient map. There are a number of parameters that can be set so that the map will display or not several controls:

  • map size, map overview (bird view);
  • navigation zoom/pan controls, zoom slider;
  • rectangle zoom in/pan controls;
  • layer attribution and map permalink;
  • interactive layer list (layer switcher);
  • scale and coordinate display;
  • zoom levels and map center coordinates;

Each of the options can be set for all instances of the WISroGIS plugin (plugin configuration page) or individually, for each instance, adding the corresponding parameter(s) in the plugin code:

{WISroGIS width='400px'|height='300px'|zoom_level=4|

center_lat='49.1127'|center_lon='4.69577'|

overview=1|attribution=1 ~}

Powered by WISroGIS 1.11 Zeus

Note: the Mouse Position, Permalink and Attribution parameters are set to 1 (visible) in the plugin configuration page.

 

The table below shows the parameters' name (configuration page), the parameter name (plugin code), description, and values:

 Width width Map's width, expressed in pixels (300px) or percents (95%) width='400px' Default value: 100%
 Height height Map's height, expressed in pixels (300px) or percents (95%) height='300px' Default value: 400px
 Center latitude center_lat Latitude for the center of the map center_lat='49.1127' Default value: none
 Center latitude center_lon Latitude for the center of the map center_lon='4.69577' Default value: none
 Pan/Zoom Navigation Style panzoom_style Set the Pan/Zoom Navigation style:
0 = Default Zoom Control;
1 = Zoom Slider Control
 panzoom_style=0 Default value: 0
 

Zoom rectangle/pan control

 

mousetoolbar

 Set the Pan/Zoom controls visibility:
0 = Buttons hidden;
1 = Buttons Visible
  mousetoolbar=1  Default value: 0
 Zoom level zoom_levelStart zoom level for the map (1-16)
 zoom_level=4 Default value: 8
 Overview overviewShow/hide the overview (bird view navigation) of the map (right-bottom corner) overview=1 Default value: 0
 Layer Switcher  layerswitcher Show/hide the layer switcher control (right-top corner)  layerswitcher=1 Default value: 0
 Mouse Position (coordinates) mouseposition Show/hide the map coordinates at the mouse location. mouseposition=1 Default value: 0
 Scale Line
 scaleline  Show/Hide the scale bar on the map. scaleline=1 Default value: 0
 Permalink permalink  Show/Hide the permalink control on the map (a link to the actual position in the map - zoom level and coordinates) permalink=1 Default value: 0
 Attribution Block attributionShow/Hide the attribution block on the map. In order to use an attribution block, an attribution parameter must be set in each layer that requires attribution.
attribution=1
Default value: 0

 


Digg!Del.icio.us!Technorati!Yahoo!Ma.gnolia!
 
< Prev   Next >
  • Inventiv, Intuitiv, un adevarat plastician al web-ului; modelator si creativ deopotriva.
    (Leonard Dobrinescu, Manager)
    www.jaluzeleverticale.ro
  • Our experience with WIS.ro has been entirely positive. All our needs were met exactly as we requested and on time. We had a close dialogue…
  • Rezultatul colaborarii noastre cu echipa WIS este faptul ca firma Eurosprint Travel a avut de castigat atat ca imagine, care s-a imbunatatit considerabil, cat si…
  • We have met him over the Internet, but it was probably one of the luckiest days of my life ! He's done an excellent job…
  • On behalf of the Board of Directors of Algal Engineering Ltd., I would like to take this opportunity and express our happiness for the quality…