UpdateMapViewEvent
Constructs an UpdateMapViewEvent from the type of new event and the value of the type. Considers duration seconds as default value.
Parameters
value
A float value corresponding to types' value.
Constructs a UpdateMapViewEvent from the type of new event, the value of the type, and the duration seconds of the event.