Add delta to coordinate. coordinate is modified in place and returned by the function.
delta
coordinate
Example:
var coord = [7.85, 47.983333];ol.coordinate.add(coord, [-2, 4]);// coord is now [5.85, 51.983333] Copy
var coord = [7.85, 47.983333];ol.coordinate.add(coord, [-2, 4]);// coord is now [5.85, 51.983333]
Coordinate.
Delta.
The input coordinate adjusted by the given delta.
stable
Generated using TypeDoc
Add
delta
tocoordinate
.coordinate
is modified in place and returned by the function.Example: