OpenLayers.Format.GeoRSSクラス

下記のクラスから継承


GeoRSSを読込み及び書込みクラスです。

プロパティ


rssns

{String} 使用するRSS名前空間。ディフォルトは“http://backend.userland.com/rss2”。

featurens

{String} 使用するフィーチャー属性の名前空間。デフォルトは “http://mapserver.gis.umn.edu/mapserver”。

georssns

{String} 使用するGeoRSS名前空間。ディフォルトは“http://www.georss.org/georss”。

geons

{String} 使用するW3C Geo名前空間。 ディフォルトは“http://www.w3.org/2003/01/geo/wgs84_pos#”。

featureTitle

{String} フィーチャーのタイトル。ディフォルトは “Untitled”。

featureDescription

{String} フィーチャーの説明。ディフォルトは“No Description”。

xy

{Boolean} GML座標の順番: true:(x,y) 或いは false:(y,x)。GeoRSSのディフォルト値は (y,x)。

コンストラクター


OpenLayers.Format.GeoRSS

引数

  • options {Object} プロパティ設定用のオプションオブジェクトです。

メソッド


write

write: function( features )


フィーチャー配列を与えて、文字列を返します。
パラメータ

戻り値
{String} GeoRSS文字列。

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