MapTypeEventArgs Object
A MapTypeEventArgs object that is returned by the map event handler when using the maptypechanged event.
Properties
Name | Type | Description |
---|---|---|
newMapTypeId | MapTypeId | The map type that the map has changed to. |
oldMapTypeId | MapTypeId | The map type that the map has changed from. |
target | Map | The map instance that fired the event. |
targetType | string | The type of the object that fired the event. This will always be 'map'. |