@@ -31,6 +31,7 @@ import com.mapconductor.example.MapViewContainer
3131import com.mapconductor.example.R
3232import com.mapconductor.icons.CircleIcon
3333import com.mapconductor.icons.FlagIcon
34+ import com.mapconductor.icons.RightTailInfoBubbleIcon
3435import com.mapconductor.icons.RoundInfoBubbleIcon
3536import com.mapconductor.settings.MarkerIconSize
3637import android.content.Context
@@ -303,7 +304,7 @@ fun MarkerBasicMapComponent(
303304 """ .trimIndent()
304305 )
305306
306- ContextCompat .getDrawable(context,com.mapconductor.core.R .drawable.default_marker)?.let {
307+ ContextCompat .getDrawable(context, com.mapconductor.core.R .drawable.default_marker)?.let {
307308 Marker (
308309 position = GeoPointImpl .fromLatLong(0.006 , 0.012 ),
309310 icon = RoundInfoBubbleIcon (
@@ -323,6 +324,31 @@ fun MarkerBasicMapComponent(
323324 """ .trimIndent()
324325 )
325326 }
327+
328+ AppCompatResources .getDrawable(context, R .drawable.wmo_00_clear)?.let { icon ->
329+ Marker (
330+ position = GeoPointImpl .fromLatLong(0.006 , 0.017 ),
331+ icon =
332+ RightTailInfoBubbleIcon (
333+ iconDrawable = icon,
334+ label = " 5時間37分" ,
335+ snippet = " 304マイル" ,
336+ fillColor = Color .White ,
337+ labelTextColor = Color .Black ,
338+ scale = 0.8f ,
339+ ),
340+ extra = """
341+ RightTailInfoBubbleIcon(
342+ label = "5時間37分",
343+ snippet = "304マイル",
344+ fillColor = Color.White,
345+ labelTextColor = Color.Black,
346+ scale = 1f,
347+ debug = true,
348+ )
349+ """ .trimIndent(),
350+ )
351+ }
326352 }
327353}
328354
0 commit comments