[6.5.0] road cross func
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user