cgxp.MapPanel

xtype
cgxp_mappanel
class cgxp.MapPanel(config)

A specific GeoExt.MapPanel that overrides the getState method to remove visibility- and opacity-related states from the global state.

Used state:

map_x:
  • Horizontal coordinate (depending on used SRID) as center of the map.
  • Example: &map_x=654321
map_y:
  • Vertical coordinate (depending on used SRID) as center of the map.
  • Example: &map_y=123456
map_zoom:
  • Zoom level of the map.
  • Example: &map_zoom=5
map_crosshair:
  • if true defined a point at the center of the screen with the style crosshairStyle (read only).
  • Example: &map_crosshair=true or &map_crosshair=1
map_tooltip:
  • text that will be open in a popup at the center of the screen (readonly).
  • Example: &map_tooltip=sometext

Config Options

Configuration properties.

crosshairStyle

Object The crosshair style

projectionCodes

Array

List of EPSG codes of projections that should be used when trying to recenter on coordinates. Leftmost projections are used preferably. Default is current map projection.

restrictedExtent

Array

List of EPSG codes of projections that should be used when trying to recenter on coordinates. Leftmost projections are used preferably. Default is current map projection.

Table Of Contents

Previous topic

cgxp.MapOpacitySlider

Next topic

cgxp.RedLiningPanel

This Page

Fork me on GitHub