Rule js


OpenLayers.Rule - OpenLayers OpenLayers.RuleThis class represents an SLD Rule, as being used for rule-based SLD styling.SummaryOpenLayers.RuleThis class represents an SLD Rule, as being used for rule-based SLD styling.Propertiesid{String} A unique id for this session.name{String} name of this ruletitle{String} Title of this rule (set if included in SLD)description{String} Description of this rule (set if abstract is included in SLD)context{Object} An optional object with properties that the rule should be evaluated against. filter{OpenLayers.Filter} Optional filter for the rule.elseFilter{Boolean} Determines whether this rule is only to be applied only if no other rules match (ElseFilter according to the SLD specification). symbolizer{Object} Symbolizer or hash of symbolizers for this rule. symbolizers{Array} Collection of symbolizers associated with this rule. minScaleDenominator{Number} or {String} minimum scale at which to draw the feature. maxScaleDenominator{Number} or {String} maximum scale at which to draw the feature. ConstructorOpenLayers.RuleCreates a Rule.Functionsdestroynullify references to prevent circular references and memory leaksevaluateevaluates this rule for a specific featuregetContextGets the context for evaluating this rulecloneClones this rule. Properties id{String} A unique id for this session. name{String} name of this rule title{String} Title of this rule (set if included in SLD) description{String} Description of this rule (set if abstract is included in SLD) context{Object} An optional object with properties that the rule should be evaluated against.  If no context is specified, feature.attributes will be used. filter{OpenLayers.Filter} Optional filter for the rule. elseFilter{Boolean} Determines whether this rule is only to be applied only if no other rules match (ElseFilter according to the SLD specification).  Default is false.  For instances of OpenLayers.Rule, if elseFilter is false, the rule will always apply.  For subclasses, the else property is ignored. symbolizer{Object} Symbolizer or hash of symbolizers for this rule.  If hash of symbolizers, keys are one or more of [“Point”, “Line”, “Polygon”].  The latter if useful if it is required to style e.g. vertices of a line with a point symbolizer.  Note, however, that this is not implemented yet in OpenLayers, but it is the way how symbolizers are defined in SLD. symbolizers{Array} Collection of symbolizers associated with this rule.  If provided at construction, the symbolizers array has precedence over the deprecated symbolizer property.  Note that multiple symbolizers are not currently supported by the vector renderers.  Rules with multiple symbolizers are currently only useful for maintaining elements in an SLD document. minScaleDenominator{Number} or {String} minimum scale at which to draw the feature.  In the case of a String, this can be a combination of text and propertyNames in the form “literal ${propertyName}” maxScaleDenominator{Number} or {String} maximum scale at which to draw the feature.  In the case of a String, this can be a combination of text and propertyNames in the form “literal ${propertyName}” Constructor OpenLayers.RuleCreates a Rule.Parametersoptions{Object} An optional object with properties to set on the ruleReturns{OpenLayers.Rule} Functions destroydestroy: function()nullify references to prevent circular references and memory leaks evaluateevaluate: function(feature)evaluates this rule for a specific featureParametersfeature{OpenLayers.Feature} feature to apply the rule to.Returns{Boolean} true if the rule applies, false if it does not.  This rule is the default rule and always returns true. getContextgetContext: function(feature)Gets the context for evaluating this ruleParamtersfeature{OpenLayers.Feature} feature to take the context from if none is specified. cloneclone: function()Clones this rule.Returns{OpenLayers.Rule} Clone of this rule. Generated by Natural Docs OpenLayersJavaScript Mapping LibraryOpenLayersOpenLayersBaseTypesBase TypesBoundsClassDateElementLonLatPixelSizeControlControlControlArgParserAttributionButtonCacheReadCacheWriteDragFeatureDragPanDrawFeatureEditingToolbarGeolocateGetFeatureGraticuleKeyboardDefaultsLayerSwitcherMeasureModifyFeatureMousePositionNavigationNavigationHistoryNavToolbarOverviewMapPanPanelPanPanelPanZoomPanZoomBarPermalinkPinchZoomScaleScaleLineSelectFeatureSLDSelectSnappingSplitTouchNavigationTransformFeatureUTFGridWMSGetFeatureInfoWMTSGetFeatureInfoZoomZoomBoxZoomInZoomOutZoomPanelZoomToMaxExtentFeatureFeatureVectorFilterFilterComparisonFeatureIdFunctionLogicalSpatialFormatFormatArcXMLArcXML.FeaturesAtomContextCQLCSWGetDomainCSWGetDomain.v2_0_2CSWGetRecordsCSWGetRecords.v2_0_2FilterFilterv1v1_0_0v1_1_0GMLGMLBasev2v3SLDSLDSLD/v1_0_0_GeoServerv1v1_0_0GeoJSONGeoRSSGPXJSONKMLOGCExceptionReportOSMOWSCommonOWSCommonv1v1_0_0v1_1_0OWSContextOWSContext.v0_3_1QueryStringFilterSOSCapabilitiesSOSCapabilities.v1_0_0SOSGetFeatureOfInterestSOSGetObservationTextVersionedOGCWCSGetCoverage version 1.1.0WFSWFSCapabilitiesWFSCapabilitiesv1v1_0_0v1_1_0WFSTWFSTv1v1_0_0v1_1_0WMCWMCv1v1_0_0v1_1_0WMSCapabilitiesWMSCapabilitiesv1v1_1v1_1_0v1_1_1v1_3v1_3_0WMSCapabilities/v1_1_1_WMSCWMSDescribeLayerWMSDescribeLayerv1_1WFSDescribeFeatureTypeWKTWMSGetFeatureInfoWMTSCapabilitiesWMTSCapabilities.v1_0_0WPSCapabilitiesWPSCapabilities.v1_0_0WPSDescribeProcessWPSExecute version 1.0.0XLSXLS.v1XLS.v1_1_0XMLGeometryGeometryCollectionCurveLinearRingLineStringMultiLineStringMultiPointMultiPolygonPointPolygonHandlerHandlerBoxClickDragFeatureHoverKeyboardMouseWheelPathPinchPointPolygonRegularPolygonLangLangarbe-taraskbgbrcacs-CZda-DKdeenen-CAeselfifrfurglgswhrhsbhuiaidioisitjakmkshltndsnbnlnnocplptpt-BRrusksv-SEtevizh-CNzh-TWLayerLayerLayerArcGISCache.jsArcGIS93RestArcIMSBingBoxesEventPaneFixedZoomLevelsGeoRSSGoogleGoogle.v3GridHTTPRequestImageKaMapKaMapCacheMapGuideMapServerMarkersPointGridPointTrackSphericalMercatorTextTileCacheTMSVectorVector.RootContainerWMSWMTSWorldWindXYZZoomifyOSMUTFGridMarkerMarkerBoxPopupPopupAnchoredAnchoredBubbleFramedFramedCloudProtocolProtocolProtocolCSWCSW.v2_0_2HTTPScriptSOS.DEFAULTSSOS.v1_0_0WFSWFSv1v1_0_0v1_1_0RendererRendererCanvasElementsIndexerSVGVMLRequestRequestXMLHttpRequestStrategyStrategyBBOXClusterFilterFixedPagingRefreshSaveSymbolizerSymbolizerLinePointPolygonRasterTextTileTileImageImage.IFrameUTFGridDeprecatedOpenLayersConsoleEventsIconKineticMapProjectionRuleSingleFile.jsStyleStyle2StyleMapTweenUtilSphericalAnimationEvents.buttonclickIndexEverythingClassesConstantsFunctionsPropertiesFilesConstructorEverythingClassesConstantsConstructorFilesFunctionsProperties This class represents an OGC Filter.destroy: function()nullify references to prevent circular references and memory leaksevaluate: function(feature)evaluates this rule for a specific featuregetContext: function(feature)Gets the context for evaluating this ruleclone: function()Clones this rule.Creates a Rule.Features are combinations of geography and attributes. Close

Wyszukiwarka

Podobne podstrony:
Rule js
Util js
js zegarek na www
Animation js
Format js
Map js
livehelp js
Tile js
PHP JS readme
Style js
b js
js 6
Czarnik Sz Voluntary and Forced Redistribution under Democratic Rule
rule
help?llon js source
js 4
Format js

więcej podobnych podstron