OpenLayers.Tile - OpenLayers
OpenLayers.TileThis is a class designed to designate a single tile, however it is explicitly designed to do relatively little. Tiles store information about themselves -- such as the URL that they are related to, and their size - but do not add themselves to the layer div automatically, for example. Create a new tile with the OpenLayers.Tile constructor, or a subclass.TBD 3.0remove reference to url in above paragraphSummaryOpenLayers.TileThis is a class designed to designate a single tile, however it is explicitly designed to do relatively little. Propertiesevents{OpenLayers.Events} An events object that handles all events on the tile.eventListeners{Object} If set as an option at construction, the eventListeners object will be registered with OpenLayers.Events.on. bounds{OpenLayers.Bounds} nullConstructorOpenLayers.TileConstructor for a new OpenLayers.Tile instance.FunctionsdestroyNullify references to prevent circular references and memory leaks.
Properties
events{OpenLayers.Events} An events object that handles all events on the tile.Register a listener for a particular event with the following syntaxtile.events.register(type, obj, listener);Supported event typesbeforedrawTriggered before the tile is drawn. Used to defer drawing to an animation queue. To defer drawing, listeners need to return false, which will abort drawing. The queue handler needs to call <draw>(true) to actually draw the tile.loadstartTriggered when tile loading starts.loadendTriggered when tile loading ends.loaderrorTriggered before the loadend event (i.e. when the tile is still hidden) if the tile could not be loaded.reloadTriggered when an already loading tile is reloaded.unloadTriggered before a tile is unloaded.
eventListeners{Object} If set as an option at construction, the eventListeners object will be registered with OpenLayers.Events.on. Object structure must be a listeners object as shown in the example for the events.on method.This options can be set in the ``tileOptions`` option from OpenLayers.Layer.Grid. For example, to be notified of the ``loadend`` event of each tiles:new OpenLayers.Layer.OSM('osm', 'http://tile.openstreetmap.org/${z}/${x}/${y}.png', {
tileOptions: {
eventListeners: {
'loadend': function(evt) {
// do something on loadend
}
}
}
});
bounds{OpenLayers.Bounds} null
Constructor
OpenLayers.TileConstructor for a new OpenLayers.Tile instance.Parameterslayer{OpenLayers.Layer} layer that the tile will go in.position{OpenLayers.Pixel}bounds{OpenLayers.Bounds}url{String}size{OpenLayers.Size}options{Object}
Functions
destroydestroy:function()Nullify references to prevent circular references and memory leaks.
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-CAeselfifrfurglgswhrhsbhuiaidioisitjakmkshltndsnbnlnnocptplpt-BRrusksv-SEtevizh-CNzh-TWLayerLayerLayerArcGISCache.jsArcGIS93RestArcIMSBingBoxesEventPaneFixedZoomLevelsGeoRSSGoogleGoogle.v3GridHTTPRequestImageKaMapKaMapCacheMapGuideMapServerMarkersOSMPointGridPointTrackSphericalMercatorTextTileCacheTMSVectorVector.RootContainerWMSWMTSWorldWindXYZZoomifyUTFGridMarkerMarkerBoxPopupPopupAnchoredAnchoredBubbleFramedFramedCloudProtocolProtocolProtocolCSWCSW.v2_0_2HTTPScriptSOS.DEFAULTSSOS.v1_0_0WFSWFSv1v1_0_0v1_1_0RendererRendererCanvasElementsIndexerSVGVMLRequestRequestXMLHttpRequestStrategyStrategyBBOXClusterFilterFixedPagingRefreshSaveSymbolizerSymbolizerLinePointPolygonRasterTextTileTileImageImage.IFrameUTFGridDeprecatedOpenLayersConsoleEventsIconMapOpenLayers.AnimationOpenLayers.Events.buttonclickOpenLayers.KineticProjectionRuleSingleFile.jsSphericalStyleStyle2StyleMapTweenUtilIndexEverythingClassesConstantsFunctionsPropertiesFilesConstructorEverythingClassesConstantsConstructorFilesFunctionsProperties
on: function(object)Convenience method for registering listeners with a common scope. Instances of this class represent bounding boxes. Constructor for a new OpenLayers.Tile instance.destroy:function()Nullify references to prevent circular references and memory leaks.Base class for layers that use a lattice of tiles. This class represents a screen coordinate, in x and y coordinatesContains convenience functions for string manipulation.Instances of this class represent a width/height pair
Close
Wyszukiwarka
Podobne podstrony:
Tile jsUtil jsjs zegarek na wwwAnimation jsFormat jsMap jslivehelp jsPHP JS readmeStyle jsb jsRule jsjs 6help?llon js sourcejs 4Format jsjs lab2Jś Wytrębowiczowiwięcej podobnych podstron