new measurer.Measurer() [source]
Static Methods
(static) getInstance(name) [source]
Get a measurer instance.
Parameter | Type | Description |
---|---|---|
name
|
String | code of the measurer: 'EPSG:4326', 'Identity', 'BAIDU' |
Returns:
Object: a measurer object(static) isSphere(m) [source]
Whether the measurer is based on earth sphere
Parameter | Type | Description |
---|---|---|
m
|
Object |