Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 797aabf9 authored by Fynn Godau's avatar Fynn Godau
Browse files

Remove redundant image adding and allow overlapping icons

parent 3b8a0ee5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -44,7 +44,8 @@ fun Style.Builder.withMarkerLayer(): Style.Builder {
            ),
            PropertyFactory.symbolZOrder(
                Expression.get(PROPERTY_Z_INDEX)
            )
            ),
            PropertyFactory.iconAllowOverlap(true)
        ).withFilter(Expression.get(PROPERTY_VISIBLE))
    )
}
 No newline at end of file
+0 −7
Original line number Diff line number Diff line
@@ -71,13 +71,6 @@ object BitmapDescriptorFactoryImpl : IBitmapDescriptorFactoryDelegate.Stub() {
            bitmaps[id] = bitmap
            bitmap
        }
        for (map in maps) {
            map.getStyle {
                runOnMainLooper {
                    it.addImage(id, bitmap)
                }
            }
        }
    }

    override fun fromResource(resourceId: Int): IObjectWrapper? {