MKer

Results 20 comments of MKer

Could you provide the stack trace?

Really interesting. You can subclass RadiusMarkerClusterer, to implement this feature in a custom "clusterer" method. Or propose a pull request of RadiusMarkerClusterer.

Good point, thanks. I also set a relevant cluster icon by default in RadiusMarkerClusterer. commit #0c82ec9

I suggest the following approach: Include a PHP polyline encoder, like this one: https://github.com/dyaaj/polyline-encoder/blob/master/PolylineEncoder.php In https://github.com/twain47/Nominatim/blob/master/lib/Geocode.php, once $aPolyPoints is built, encode it: if ($this->bIncludePolygonAsEncoded && isset($aPolyPoints)) { $polylineEncoder = new...

I didn't know the MapLibre initiative: sounds great! Bringing a free Android map lib supporting vector tiles is what I was dreaming for osmdroid for years. You have been able...

Quick clue about this nightmare: Have a look at this example: https://github.com/MKergall/osmbonuspack/blob/master/OSMBonusPackTuto/build.gradle Then choose to include OBP either using JitPack, or as a local lib, but don't mix both.

you can simplify your route with the DouglasPeucker reducer (PointReducer class).

Is the ANR occuring when creating markers/cluster, or at drawing, or specifically at a zoom level change ?

Take care that you have access to 2 different GroundOverlay classes: one in osmdroid, and another one in OSMBonusPack. OSMBonusPack class handles setDimensions. Import the class you really want!

Oh sorry, you are right: when I fixed GroundOverlay proper positionning (using Fabrice Fontaine code), setDimensions disapeared. You will have to compute the bounds from the dimension you want. No...