Constructor
new MapEvent(options)
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object | Options object.
Properties
|
- Source:
Members
(protected) bemapObject :bemap.Object
BeMap SDK object like bemap.Marker, bemap.Polyline, etc.
Type:
- Source:
(protected) coordinate :bemap.Coordinate
Coordinate of event (longitude and latitude).
Type:
- Source:
(protected) map :bemap.Map
Map object that generated the event.
Type:
- Source:
(protected) native :Object
Native map browser event.
Type:
- Object
- Source:
(protected) properties :Object
Type:
- Object
- Source:
(protected) startCoordinate :bemap.Coordinate
Start coordinate before event (longitude and latitude).
Type:
- Source:
(protected) startX :int
x coordinate before event in pixels.
Type:
- int
- Source:
(protected) startY :int
y coordinate before event in pixels.
Type:
- int
- Source:
(protected) x :int
x coordinate in pixels.
Type:
- int
- Source:
(protected) y :int
y coordinate in pixels.
Type:
- int
- Source:
Methods
getCoordinate() → {bemap.Coordinate}
Return the bemap.Coordinate. See bemap.Coordinate.
- Source:
Returns:
Return the bemap.Coordinate. See bemap.Coordinate.
- Type
- bemap.Coordinate