Yahoo! UI Library

CHZERO  1.0.0

Yahoo! UI Library > CHZERO > OpenLayers.LonLat
Search:
 
Filters

Class OpenLayers.LonLat

OpenLayers LonLat
경도/위도 묶음.

Constructor

OpenLayers.LonLat ( lon , lat )
Parameters:
lon <Number> 경도
lat <Number> 위도

Properties

lat - {Float}

위도

lon - {Float}

경도

Methods

add

OpenLayers.LonLat add ( lon , lat )
받은 LonLat와 LonLat 더하여 새로운 LonLat 반환
Parameters:
lon <Integer>
lat <Integer>
Returns: OpenLayers.LonLat
new LonLat

clone

OpenLayers.Pixel clone ( )
Pixel clone.
Returns: OpenLayers.Pixel
clone

equals

Boolean equals ( )
다른 LonLat 비교해서 같으면 true 반환
Returns: Boolean
같으면 true

toShortString

String toShortString ( )
"lon, lat" String으로 나타냄.
Returns: String
ShortString

transform

OpenLayers.LonLat transform ( source , destination )
source에서 dest로 좌표 변환. 새로운 LonLat으로 먼저 clone부터 하고 변환 해야함.
Parameters:
source <OpenLayers.Projection> projection
destination <OpenLayers.Projection> projection


Copyright © 2012 Yahoo! Inc. All rights reserved.