HSLayers.EditPanel.SettingsPanel (class)

HSLayers.EditPanel.SettingsPanel

class HSLayers.EditPanel.SettingsPanel(config)

SettingsPanel is special panel with editing functions

param Object config:
 
param String config.title:
 

(optional, default: OpenLayers.i18n(“Edit”))

title for the panel

Properties

HSLayers.EditPanel.SettingsPanel.CLASS_NAME
Type :String (static)

HSLayers.EditPanel.SettingsPanel

name of this class

HSLayers.EditPanel.SettingsPanel.distance
Type :Float (static)

HSLayers.EditPanel.SettingsPanel

snapping distance

HSLayers.EditPanel.SettingsPanel.editFieldSet
Type :<a href=”http://www.extjs.com/deploy/dev/docs/?class=Ext.form.Select“>Ext.form.FieldSet</a> (static)

HSLayers.EditPanel.SettingsPanel

Field set with editing configration

HSLayers.EditPanel.SettingsPanel.editLayer
Type :HSLayers.Layer.MapServer (static)

HSLayers.EditPanel.SettingsPanel

base mapserver edited layer

HSLayers.EditPanel.SettingsPanel.initComponent

HSLayers.EditPanel.SettingsPanel

Init component method

HSLayers.EditPanel.SettingsPanel.layer
Type :Object (static)

HSLayers.EditPanel.SettingsPanel

layer edited

HSLayers.EditPanel.SettingsPanel.snapChecked
Type :Boolean (static)

HSLayers.EditPanel.SettingsPanel

snap field was checked

HSLayers.EditPanel.SettingsPanel.snapFieldSet
Type :<a href=”http://www.extjs.com/deploy/dev/docs/?class=Ext.form.Select“>Ext.form.FieldSet</a> (static)

HSLayers.EditPanel.SettingsPanel

Field set with snapping configration

HSLayers.EditPanel.SettingsPanel.snapLayers
Type :Float (static)

HSLayers.EditPanel.SettingsPanel

avaliable snap layers

HSLayers.EditPanel.SettingsPanel.snappingGrid
Type :Ext.data.Grid (static)

HSLayers.EditPanel.SettingsPanel

snapping layers grid

HSLayers.EditPanel.SettingsPanel.snapToLine
Type :<a href=”http://www.extjs.com/deploy/dev/docs/?class=Ext.form.Select“>Ext.form.CheckBox</a> (static)

HSLayers.EditPanel.SettingsPanel

snapping to lines

HSLayers.EditPanel.SettingsPanel.snapToNode
Type :<a href=”http://www.extjs.com/deploy/dev/docs/?class=Ext.form.Select“>Ext.form.CheckBox</a> (static)

HSLayers.EditPanel.SettingsPanel

snapping to nodes

HSLayers.EditPanel.SettingsPanel.units
Type :String (static)

HSLayers.EditPanel.SettingsPanel

snapping units

HSLayers.EditPanel.SettingsPanel.width
Type :Float (static)

HSLayers.EditPanel.SettingsPanel

line width

Methods

HSLayers.EditPanel.SettingsPanel.setLayer(layer)

set this snaping layer

Arguments:
  • layer (HSLayers.Layer.MapServer) – snapping layer
HSLayers.EditPanel.SettingsPanel.onSnapClicked(record)

clicked on snap checkbox

Arguments:
  • record (Ext.grid.Record) –
HSLayers.EditPanel.SettingsPanel.onSnapChanged(record)

soma snapping attribute has changed

Arguments:
  • record (Ext.grid.Record) –

Main Menu


Table Of Contents

Previous topic

HSLayers.EditPanel (class)

Next topic

HSLayers.Embed (class)

This Page