注:MultiMapレイヤはsphericalMercatorオプションが完全サポートされていません。
|
Table of Contents
|
定数
MIN_ZOOM_LEVEL
{Integer} 1
MAX_ZOOM_LEVEL
{Integer} 17
RESOLUTIONS
{Array(Float)}
プロパティ
type
コンストラクター
OpenLayers.Layer.MultiMap
MultiMapレイヤインスタンスを新規作成します。
- name {String} レイヤ名称。
- options {Ojbect} レイヤ付加のオプションです。
メソッド
getWarningHTML
getWarningHTML:function()
戻り値
{String} レイヤが壊れている(それを働くようにする方法)理由に関する情報による情報です。
setMapObjectCenter
setMapObjectCenter: function( center, zoom )
mapObjectの中心と縮尺を設定します。
パラメータ
- center {Object} MapObject LonLatフォーマット
- zoom {int} MapObject zoom フォーマット
getMapObjectCenter
getMapObjectCenter: function()
戻り値
{Object} mapObject現在の中心位置を返します。
getMapObjectZoom
getMapObjectZoom: function()
戻り値
{Integer} mapObject現在の縮尺を返します。
getMapObjectLonLatFromMapObjectPixel
getMapObjectLonLatFromMapObjectPixel: function( moPixel )
パラメータ
- moPixel {Object} MapObject ピクセルフォーマット
戻り値
{Object} MapObject ピクセルからMapObject緯度経度に変換します。
getMapObjectPixelFromMapObjectLonLat
getMapObjectPixelFromMapObjectLonLat: function( moLonLat )
パラメータ
- moLonLat {Object} MapObject 緯度経度フォーマット
戻り値
{Object} MapObject 緯度経度からMapObjectピクセルに変換します。
getLongitudeFromMapObjectLonLat
getLongitudeFromMapObjectLonLat: function( moLonLat )
パラメータ
- moLonLat {Object} MapObject 緯度経度フォーマット
戻り値
{Float} 渡したMapObject LonLatの経度
getLatitudeFromMapObjectLonLat
getLatitudeFromMapObjectLonLat: function( moLonLat )
getLatitudeFromMapObjectLonLat: function( moLonLat )
パラメータ
- moLonLat {Object} MapObject 緯度経度フォーマット
戻り値
{Float} 渡したMapObject LonLatの緯度
getMapObjectLonLatFromLonLat
getMapObjectLonLatFromLonLat: function( lon, lat )
パラメータ
- lon {Float}
- lat {Float}
戻り値
{Object} 渡した経度、緯度からMapObject LonLatオブジェクトを作成します。
getXFromMapObjectPixel
getXFromMapObjectPixel: function( moPixel )
パラメータ
- **moPixel ** {Object} MapObject Pixel フォーマット
戻り値
{Integer} MapObject PixelオブジェクトのX値を返します。
getYFromMapObjectPixel
getYFromMapObjectPixel: function( moPixel )
パラメータ
- **moPixel ** {Object} MapObject Pixel フォーマット
戻り値
{Integer} MapObject PixelオブジェクトのY値を返します。
getMapObjectPixelFromXY
getMapObjectPixelFromXY: function( x, y )
パラメータ
- x {Integer}
- y {Integer}
戻り値
{Object} 指定されたx,yでMapObject Pixelオブジェクトを作成します。





