MAPPE DELLA SARDEGNA
sardegnamappe api  ›  api documentation  ›  classe
Class framework.form.CoordinateInputBox


Extends Ext.form.ComboBox.
Creates a combo box that handles results from a geocoding service OpenLS.
Defined in: CoordinateInputBox.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a textfield for coordinates search.
Field Summary
Field Attributes Field Name and Description
 
Text to display for an empty field
 
If provided, a marker will be drawn on this layer with the location returned by the geocoder.
 
See http://www.dev.sencha.com/deploy/dev/docs/source/Combo.html#cfg-Ext.form.ComboBox-listWidth, default value is 350.
 
See http://www.dev.sencha.com/deploy/dev/docs/source/Combo.html#cfg-Ext.form.ComboBox-loadingText, default value is "Search in Geozet.
 
The bounding box to validate coordinates.
 
srs
The srs used by the geocoder service.
 
style point result
 
See http://www.dev.sencha.com/deploy/dev/docs/source/BoxComponent.html#cfg-Ext.BoxComponent-width, default value is 240.
 
The minimum zoom level to use when zooming to a location.
Class Detail
framework.form.CoordinateInputBox()
Creates a textfield for coordinates search. If coordinates are valid, the map will be centred on them and eventually zoomed.
Field Detail
{String} emptyText
Text to display for an empty field

{OpenLayers.Layer.Vector} layer
If provided, a marker will be drawn on this layer with the location returned by the geocoder. The location will be cleared when the map panned.

{Number} listWidth
See http://www.dev.sencha.com/deploy/dev/docs/source/Combo.html#cfg-Ext.form.ComboBox-listWidth, default value is 350.

{String} loadingText
See http://www.dev.sencha.com/deploy/dev/docs/source/Combo.html#cfg-Ext.form.ComboBox-loadingText, default value is "Search in Geozet...".

maxExtent
The bounding box to validate coordinates. Outside this bounding box coordinates are considered invalid. Default is null to not perform validation

{String} srs
The srs used by the geocoder service. Default is "EPSG:4326".

{OpenLayers.Layer.Vector} vectorStyle
style point result

{Number} width
See http://www.dev.sencha.com/deploy/dev/docs/source/BoxComponent.html#cfg-Ext.BoxComponent-width, default value is 240.

{number} zoom
The minimum zoom level to use when zooming to a location. Not used when zooming to a bounding box. Default is 12.
© 2013 Regione Autonoma della Sardegna