修改bug

This commit is contained in:
squallzhjch
2023-08-25 09:28:04 +08:00
parent 5b2fcbddd9
commit f4495ea202
15 changed files with 115 additions and 49 deletions

View File

@@ -67,7 +67,7 @@ class MarkHandler(context: AppCompatActivity, mapView: NIMapView) :
//新增marker图标样式
val mDefaultBitmap =
AndroidBitmap(BitmapFactory.decodeResource(context.resources, R.mipmap.marker))
mDefaultBitmap.scaleTo(150, 150)
val markerSymbol = MarkerSymbol(
mDefaultBitmap,
MarkerSymbol.HotspotPlace.CENTER