[6.5.0] road cross func

This commit is contained in:
EmArrow
2024-06-21 14:49:31 +08:00
parent abd524ae57
commit 8744b0f190
34 changed files with 360 additions and 119 deletions

View File

@@ -1,5 +1,6 @@
package com.mogo.map.overlay
import android.view.View
import com.mogo.map.MogoMap.Companion.DEFAULT
import com.mogo.map.overlay.core.*
import com.mogo.map.overlay.line.*
@@ -11,6 +12,8 @@ interface IMoGoOverlayManager {
fun showOrUpdatePoint(options: PointOptions, mapTag:String = DEFAULT): Point?
fun setInfoWindowView(id: String, view: View)
fun hidePoint(id: String)
fun hidePoint(p: Point)

View File

@@ -245,7 +245,7 @@ data class Point(val id: String, val owner: String, val level: Level, val option
internal var alpha = 1.0f
/**
* 设置Marker覆盖物的透明度
* 设置Marker覆盖物的缩放比
*/
internal var scale = 1.0f

View File

@@ -1,5 +1,7 @@
package com.mogo.map.overlay.proxy
import android.view.View
interface IMapOverlay {
@@ -30,6 +32,10 @@ interface IMapOverlay {
*/
fun isVisible(): Boolean
/**
* 设置 Marker 覆盖物的 InfoWindowView
*/
fun setInfoWindowView(view: View){}
/**
* 设置当前marker在最上面。
@@ -42,5 +48,6 @@ interface IMapOverlay {
fun setUnTop()
fun onRemove(action: (id: String) -> Unit)
}