<< Click to Display Table of Contents >>

 

new sg.layers.DynamicLayer()

 

 

Description

It's a basic class. Custom a DynamicLayer object by extending this class, like WMSLayer.

 

Position

DynamicLayer.js

 

 

Properties

 

Properties

Type

Description

spatialReference

sg.SpatialReference

layer coordinate system.

 

 

Method

 

Event

Type

Description

getImageUrl

extent:sg.geometry.Extent

width:Number

height:Number

Returns:String

return a dynamic image at the specified extent and size.

Name

Type

Description

extent

sg.geometry.Extent

The extent of the image

width

Number

The image width in pixel.

height

Number

The image height in pixel.

Returns:

Type

Description

String

The url of the image.

 

 


©2015 Supergeo Technologies Inc.