java.lang.Object | |
↳ | com.mapsted.map.position.UpdateMapEvent.Builder |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Builder() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
UpdateMapEvent.Builder |
addMapViewEvent(short type, float value)
Method to add a map view event (i.e., rotation, zoom, tilt, or recenter)
| ||||||||||
UpdateMapEvent.Builder |
addMapViewEvent(short type, float value, float durationSec)
Method to add a map view event (i.e., rotation, zoom, tilt, or recenter)
| ||||||||||
UpdateMapEvent | build() | ||||||||||
UpdateMapEvent.Builder |
setDuration(Float duration)
Method to set the duration of the update map event performed.
| ||||||||||
UpdateMapEvent.Builder |
setMapBounds(MapstedMapBounds mapBounds)
Method to set the map bounds.
| ||||||||||
UpdateMapEvent.Builder |
setNewMapPos(IMercator newMapPos)
Method to set new map position.
| ||||||||||
UpdateMapEvent.Builder |
setNewZone(IZone newZone)
Method to set new zone on the map.
| ||||||||||
UpdateMapEvent.Builder |
shouldRedrawMap(boolean ifRedrawMap)
Method to set if re-draw map event is needed.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Method to add a map view event (i.e., rotation, zoom, tilt, or recenter)
type | Enum specifying the event type. |
---|---|
value | The value to update (e.g., zoom level, rotation angle, etc.) |
Method to add a map view event (i.e., rotation, zoom, tilt, or recenter)
type | Enum specifying the event type. |
---|---|
value | The value to update (e.g., zoom level, rotation angle, etc.) |
durationSec | The duration in seconds that the event should take to execute |
Method to set the duration of the update map event performed.
duration | A float value that indicates the animation duration of the update map event. |
---|
Method to set the map bounds. This map bounds uses min and max position to zoom in an axis aligned cuboid on the map.
mapBounds | MapBounds of the current map event to be updated. |
---|
Method to set new map position. Map position is defined in two double coordinates X and Y to get a precision position on the map.
newMapPos | New Map Position of the current map event to be updated. |
---|
Method to set new zone on the map.
newZone | The floor id for the new floor to display on the map. |
---|
Method to set if re-draw map event is needed. This is useful when removing or adding new properties, etc.
ifRedrawMap | Pass true if re-draw map event is need else pass false |
---|