Class: AddCommand

josm/command. AddCommand

A command to add a collection of objects to a data layer.

new AddCommand(objs)

Parameters:
Name Type Description
objs Collection | array the objects to add
Source:

Methods


createJOSMCommand(layer)

Creates the internal JOSM command for this command
Parameters:
Name Type Description
layer OsmDataLayer the data layer
Source:
Returns:
the command
Type
Command