Skip to main content

@mapgear/geoapps > Envelope

Envelope class

Represents the envelope of the map

Signature:
export declare class Envelope 

Constructors

ConstructorModifiersDescription
(constructor)(xmin, ymin, xmax, ymax)Constructs a new instance of the Envelope class

Properties

PropertyModifiersTypeDescription
HasEnvelopereadonlybooleanDetermines whether all values have been set
XmaxnumberX-Coordinate maximum value
XminnumberX-Coordinate minimum value
YmaxnumberY-Coordinate maximum value
YminnumberY-Coordinate minimum value

Methods

MethodModifiersDescription
ToArray()Returns the envelope's values as an array