OpenLayers.Formatクラス

フォーマットのベースクラスです。サブクラスでreadとwriteメソッドを実装します。

プロパティ


externalProjection

{OpenLayers.Projection}
externalProjectionとinternalProjectionを設定された場合は、フォーマットクラスはread/writeの度に座標変換を行います。externalProjectionはreadの引数或いはwriteの出力の座標定義です。この機能を有効するにはproj4js或いはカスタマーズ変換関数が必要です。カスタマーズ変換関数については{OpenLayers.Projection.addTransform}を参照してください。

internalProjection

{OpenLayers.Projection}
externalProjectionとinternalProjectionを設定された場合は、フォーマットクラスはread/writeの度に座標変換を行います。internalProjectionはreadの戻り値或いはwriteの引数の座標定義です。この機能を有効するにはproj4js或いはカスタマーズ変換関数が必要です。カスタマーズ変換関数については{OpenLayers.Projection.addTransform}を参照してください。

コンストラクター


OpenLayers. Format

パラメータ

  • options {Object}
Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License