/tmp/openlayers/tools/OpenLayers-2.12/lib/OpenLayers/Kinetic.js - OpenLayers
Kinetic.jsSummaryKinetic.jsPropertiesthresholdIn most cases changing the threshold isn’t needed. deceleration{Float} the deseleration in px/ms², default to 0.0035.nbPoints{Integer} the number of points we use to calculate the kinetic initial values.delay{Float} time to consider to calculate the kinetic initial values. pointsList of points use to calculate the kinetic initial values.timerIdID of the timer.ConstructorOpenLayers.KineticFunctionsbeginBegins the dragging.updateUpdates during the dragging.endEnds the dragging, start the kinetic.moveLaunch the kinetic move pan.
Properties
thresholdIn most cases changing the threshold isn’t needed. In px/ms, default to 0.
deceleration{Float} the deseleration in px/ms², default to 0.0035.
nbPoints{Integer} the number of points we use to calculate the kinetic initial values.
delay{Float} time to consider to calculate the kinetic initial values. In ms, default to 200.
pointsList of points use to calculate the kinetic initial values.
timerIdID of the timer.
Constructor
OpenLayers.KineticParametersoptions{Object}
Functions
beginbegin: function()Begins the dragging.
updateupdate: function(xy)Updates during the dragging.Parametersxy{OpenLayers.Pixel} The new position.
endend: function(xy)Ends the dragging, start the kinetic.Parametersxy{OpenLayers.Pixel} The last position.Returns{Object} An object with two properties: “speed”, and “theta”. The “speed” and “theta” values are to be passed to the move function when starting the animation.
movemove: function(info,callback)Launch the kinetic move pan.Parametersinfo{Object} An object with two properties, “speed”, and “theta”. These values are those returned from the “end” call.callback{Function} Function called on every step of the animation, receives x, y (values to pan), end (is the last point).
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
begin: function()Begins the dragging.update: function(xy)Updates during the dragging.end: function(xy)Ends the dragging, start the kinetic.move: function(info,callback)Launch the kinetic move pan.This class represents a screen coordinate, in x and y coordinates
Close
Wyszukiwarka
Podobne podstrony:
Kinetic jsUtil jsjs zegarek na wwwAnimation jsFormat jsMap jslivehelp jsTile jsPHP JS readmeStyle jsb jsRule jsjs 6help?llon js sourcejs 4Format jsjs lab2więcej podobnych podstron