[6.5.0] road cross func
This commit is contained in:
@@ -70,7 +70,7 @@ object BitmapDescriptorFactory {
|
||||
View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED)
|
||||
)
|
||||
view.layout(0, 0, view.measuredWidth, view.measuredHeight)
|
||||
val bitmap = Bitmap.createBitmap(view.getWidth(), view.getHeight(), Bitmap.Config.ARGB_8888);
|
||||
val bitmap = Bitmap.createBitmap(view.width, view.height, Bitmap.Config.ARGB_8888);
|
||||
val canvas = Canvas(bitmap)
|
||||
// canvas.drawColor(Color.WHITE);
|
||||
view.draw(canvas);
|
||||
|
||||
@@ -578,7 +578,7 @@ public class Marker(private var markerOptions: MarkerOptions,private var mMapCon
|
||||
if (CompileConfig.DEBUG) {
|
||||
Log.i(TAG, "markerop--matt--showInfoWindow--start:${id}")
|
||||
}
|
||||
val view = TextView(context);
|
||||
val view = TextView(context)
|
||||
view.layoutParams = FrameLayout.LayoutParams(FrameLayout.LayoutParams.WRAP_CONTENT,FrameLayout.LayoutParams.WRAP_CONTENT)
|
||||
view.textSize = 10.0f
|
||||
view.text = id
|
||||
|
||||
Reference in New Issue
Block a user