<< Click to Display Table of Contents >>

 

new sg.SpatialReference(param)

 

 

Description

Create a SpatialReference object.

 

 

Position

SpatialReference.js

 

 

Parameters

 

Parameter

Type

Description

param

Object

set object

Name

Type

Description

wkid

Number

EPSG code

wkt

String

WKT of this spatial reference

 

 

Methods

 

Methods

Type

Description

isWebMercator()

Returns:

Boolean

return true when WKID equals to 102113, 102100, or 3857.

Returns:

Type

Description

Boolean

True:WKID is equal to 102113, 102100, 3857
False:WKID is NOT equal to 102113, 102100, 3857

 

 


©2015 Supergeo Technologies Inc.