Commit af526788bfeb38a97f6d8e6cc62602f41d61a455
1 parent
31b0b234
新增marker默认图标
Showing
2 changed files
with
2 additions
and
2 deletions
lib/android/src/main/java/cn/feewee/amap3d/map_view/Marker.kt
... | ... | @@ -15,7 +15,7 @@ import cn.feewee.amap3d.fetchImage |
15 | 15 | |
16 | 16 | class Marker(context: Context) : ReactViewGroup(context), Overlay { |
17 | 17 | private var view: View? = null |
18 | - private var icon: BitmapDescriptor? = null | |
18 | + private var icon: BitmapDescriptor? = BitmapDescriptorFactory.fromResource(R.drawable.cqfw_amap_location) | |
19 | 19 | private var anchorX: Float = 0.5f |
20 | 20 | private var anchorY: Float = 1f |
21 | 21 | var marker: Marker? = null | ... | ... |