You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am seeking a solution for animating a cursor (Marker) along a polyline with two colors: one indicating the completed portion and the other indicating the remaining part. The animation speed should be adjustable at any time, allowing for modification of the cursor's movement speed.
Within the class MapController, there exists a function named animateTo that I believe can accommodate my solution. It generates coordinates GeoPoint between the starting and ending points, as well as handling the starting and ending orientations.
public void animateTo(final IGeoPoint point, final Double pZoom, final Long pSpeed, final Float pOrientation, final Boolean pClockwise)
This function halts all ongoing animations and ensures that the animation completes. The class MapAnimatorListener serves this purpose, but it is currently marked as private. Could it be changed to protected so one subclasse of MapController can access this field? Similarly, I would like to access to the field mCurrentAnimator, allowing it to be updated with another ValueAnimator when the speed's animation changes.
Additionally, could the class MapView include a setController() method for injecting a subclass of MapController ?
Thanks a lot.
The text was updated successfully, but these errors were encountered:
Hi all,
I am seeking a solution for animating a cursor (Marker) along a polyline with two colors: one indicating the completed portion and the other indicating the remaining part. The animation speed should be adjustable at any time, allowing for modification of the cursor's movement speed.
Within the class
MapController,
there exists a function namedanimateTo
that I believe can accommodate my solution. It generates coordinatesGeoPoint
between the starting and ending points, as well as handling the starting and ending orientations.public void animateTo(final IGeoPoint point, final Double pZoom, final Long pSpeed, final Float pOrientation, final Boolean pClockwise)
This function halts all ongoing animations and ensures that the animation completes. The class
MapAnimatorListener
serves this purpose, but it is currently marked as private. Could it be changed to protected so one subclasse ofMapController
can access this field? Similarly, I would like to access to the fieldmCurrentAnimator,
allowing it to be updated with anotherValueAnimator
when the speed's animation changes.Additionally, could the class
MapView
include asetController()
method for injecting a subclass ofMapController
?Thanks a lot.
The text was updated successfully, but these errors were encountered: