OpenLayers. | |
Constants | |
i18n_checkfid_exist_messagebox_title | {String} Title of the checkfid message box |
i18n_checkfid_exist_messagebox_message | {String} Message of the checkfid message box |
Properties | |
drawControl | {<OpenLayers.Control.DrawFeature>} |
checkfid | if is not null, create check id feature not exist before add are authorized |
Functions | |
OpenLayers. | Create a new EditFeature_Create control. |
setFeatureControl | Create a ModifyFeature and assign it to this control. |
setDrawControl | Create a DrawFeature control for a particular geometry type. |
onFeatureAdded | Called when a feature is added to the vector layer. |
resumeDraw | Called when a modification (edition) is finished. |
doCheckfid | Check if feature alreay exist before its creation. |
doCheckfidCallback | Ajax request result callback function that check the result and deactivate the create control is feature exist. |
Create a ModifyFeature and assign it to this control.
setFeatureControl: function( layer )
Create a DrawFeature control for a particular geometry type.
setDrawControl: function( layer )
Called when a feature is added to the vector layer.
onFeatureAdded: function( event )
Called when a modification (edition) is finished.
resumeDraw: function( event )
Check if feature alreay exist before its creation.
doCheckfid: function( showMessage )
Ajax request result callback function that check the result and deactivate the create control is feature exist.
doCheckfidCallback : function( response )