use SimpleFastPointOverlay for the track overlay -> ANTI_ALIAS_FLAG for waypoints (see #96)
This commit is contained in:
parent
1c70fe1b5e
commit
7ad12a2670
1 changed files with 1 additions and 0 deletions
|
@ -112,6 +112,7 @@ class MapOverlayHelper (private var markerListener: MarkerListener) {
|
|||
val style: Paint = Paint()
|
||||
style.style = Paint.Style.FILL
|
||||
style.color = color
|
||||
style.flags = Paint.ANTI_ALIAS_FLAG
|
||||
val scalingFactor: Float = UiHelper.getDensityScalingFactor(context)
|
||||
val overlayOptions: SimpleFastPointOverlayOptions = SimpleFastPointOverlayOptions.getDefaultStyle()
|
||||
.setAlgorithm(SimpleFastPointOverlayOptions.RenderingAlgorithm.MAXIMUM_OPTIMIZATION)
|
||||
|
|
Loading…
Reference in a new issue