OpenLayers.Format - OpenLayers
OpenLayers.FormatBase class for format reading/writing a variety of formats. Subclasses of OpenLayers.Format are expected to have read and write methods.SummaryOpenLayers.FormatBase class for format reading/writing a variety of formats. Propertiesoptions{Object} A reference to options passed to the constructor.externalProjection{OpenLayers.Projection} When passed a externalProjection and internalProjection, the format will reproject the geometries it reads or writes. internalProjection{OpenLayers.Projection} When passed a externalProjection and internalProjection, the format will reproject the geometries it reads or writes. data{Object} When keepData is true, this is the parsed string sent to read.keepData{Object} Maintain a reference (data) to the most recently read data. ConstructorOpenLayers.FormatInstances of this class are not useful. FunctionsdestroyClean up.readRead data from a string, and return an object whose type depends on the subclass.writeAccept an object, and return a string.
Properties
options{Object} A reference to options passed to the constructor.
externalProjection{OpenLayers.Projection} When passed a externalProjection and internalProjection, the format will reproject the geometries it reads or writes. The externalProjection is the projection used by the content which is passed into read or which comes out of write. In order to reproject, a projection transformation function for the specified projections must be available. This support may be provided via proj4js or via a custom transformation function. See {OpenLayers.Projection.addTransform} for more information on custom transformations.
internalProjection{OpenLayers.Projection} When passed a externalProjection and internalProjection, the format will reproject the geometries it reads or writes. The internalProjection is the projection used by the geometries which are returned by read or which are passed into write. In order to reproject, a projection transformation function for the specified projections must be available. This support may be provided via proj4js or via a custom transformation function. See {OpenLayers.Projection.addTransform} for more information on custom transformations.
data{Object} When keepData is true, this is the parsed string sent to read.
keepData{Object} Maintain a reference (data) to the most recently read data. Default is false.
Constructor
OpenLayers.FormatInstances of this class are not useful. See one of the subclasses.Parametersoptions{Object} An optional object with properties to set on the formatValid optionskeepData{Boolean} If true, upon read, the data property will be set to the parsed object (e.g. the json or xml object).ReturnsAn instance of OpenLayers.Format
Functions
destroydestroy: function()Clean up.
readread: function(data)Read data from a string, and return an object whose type depends on the subclass.Parametersdata{string} Data to read/parse.ReturnsDepends on the subclass
writewrite: function(object)Accept an object, and return a string.Parametersobject{Object} Object to be serializedReturns{String} A string representation of the object.
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
Methods for coordinate transforms between coordinate systems. {Object} Maintain a reference (data) to the most recently read data. read: function(data)Read data from a string, and return an object whose type depends on the subclass.{Object} When keepData is true, this is the parsed string sent to read.destroy: function()Clean up.write: function(object)Accept an object, and return a string.OpenLayers.Projection.addTransform = function(from,to,method)Set a custom transform method between two projections.
Close
Wyszukiwarka
Podobne podstrony:
Format jsUtil jsFadal Format 2 (AC) B807 12Fadal Format 2 [MM] MW60 89Fadal Format 2 [PEP] M116 89 1SGH Flasher Dumper v 07 dif formatjs zegarek na wwwKonwersja Filmów Z Płyt Dvd Do Formatu DivxAnimation jsFadal Format 2 [HM] MV16 89 1mFadal Format 2 [NW] D611 16 2mMap jsformatwebctFadal Format 1 [DM] M179 15 1iCare Format Recovery naprawa systemu plikowFadal Format 2 LH [Co] MW66 12mwięcej podobnych podstron