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 have an Uber-like app, and I want to move a car symbol and draw a line on the path it took.
I want to mark an area of interest (e.g. draw a translucid polygon on top of the map), and have interactive handles to it (so the user can increase the size of that area or change its shape).
Is there currently a way to do that, or should I somehow draw on some transparent canvas on top of the map? And in the latter case, can I know that the map moved in order to update the canvas? Would that look "smooth", or would we see that the map and the canvas are not synchronized?
The text was updated successfully, but these errors were encountered:
These specific UX requirements are currently not in scope for this plugin. Mainly because they are so specific and this plugin is a side-project to cater to the most common use-cases. Most of these requirements require a style compatible api from #17 . You should be able to pull this off with using the native mobile SDKs directly.
I want to mark an area of interest (e.g. draw a translucid polygon on top of the map), and have interactive handles to it (so the user can increase the size of that area or change its shape).
and in the latter case, can I know that the map moved in order to update the canvas?
there are numerous map change events that are emitted by the SDK if the camera changes
Would that look "smooth", or would we see that the map and the canvas are not synchronized?
on Android it's advised to use the sdk components and not try synchronizing views on top of the map. (fwiw this is what the deprecated MarkerView API did and it wasn't performant).
If you feel this project is missing a specific API and you would like to add it, we do accept PRs!
Is there a way to draw on top of the map?
For instance, say:
Is there currently a way to do that, or should I somehow draw on some transparent canvas on top of the map? And in the latter case, can I know that the map moved in order to update the canvas? Would that look "smooth", or would we see that the map and the canvas are not synchronized?
The text was updated successfully, but these errors were encountered: