Class: IWMapActionTypeChange

IWMapActionTypeChange

A map action used when switching from a map mode to another one.

new IWMapActionTypeChange(oldType, newType)

Creates a new type change action.
Parameters:
Name Type Description
oldType IWMapType the old map type
newType IWMapType the new map type

Extends

Methods


isMapAction()

This method will always return true.
Inherited From:
Returns:
Type
boolean

redo(map)

Redo the last map type change.
Parameters:
Name Type Description
map IWMap
Overrides:
Returns:
Type
void

toString()

Returns a string representation of this change event.
Overrides:
Returns:
Type
String

undo(map)

Sets the old map type on the map.
Parameters:
Name Type Description
map IWMap
Overrides:
Returns:
Type
void