This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Custom Drawing Over Map #6365
Labels
archived
Archived because of inactivity
Core
The cross-platform C++ core, aka mbgl
feature
Google Maps parity
For feature parity with the Google Maps SDK for Android or iOS
Im using the android SDK.
In Googlemaps I can use a tile overlay and override the onDraw event to basically draw whatever I need onto a canvas which then gets overlayed onto the map.
This functionality does not seem to exist in MapBox. There seems to be no way to override the ondraw event, and manually draw shapes with a canvas.
I need to draw complex shapes like polygons with many small diamonds or circles creating the borders. The native Mapbox polygons do not cut it.
All if this can be done easily in Googlemaps. I simply use the projection to convert lat/lngs to points on each tile bitmap.
See the image below.
The text was updated successfully, but these errors were encountered: