This commit is contained in:
wangcongtao
2020-01-10 16:34:18 +08:00
parent 3597505a34
commit fdecf6a2de
8 changed files with 72 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
package com.mogo.map.marker;
import android.graphics.Bitmap;
import android.graphics.Point;
import com.mogo.map.MogoLatLng;
@@ -214,4 +215,11 @@ public interface IMogoMarker {
* @return
*/
String getOwner();
/**
* 设置marker在window的位置
*
* @param position window 的位置。
*/
void setPositionByPixels( Point position );
}

View File

@@ -1,5 +1,7 @@
package com.mogo.map.uicontroller;
import android.graphics.Point;
import com.mogo.map.MogoLatLng;
/**
@@ -102,4 +104,12 @@ public interface IMogoMapUIController {
* @param mapCenterY y 点位置x值与地图高度的比例
*/
void setPointToCenter( double mapCenterX, double mapCenterY );
/**
* 获取经纬度对应的屏幕的位置
*
* @param latLng
* @return
*/
Point getLocationPointInScreen( MogoLatLng latLng );
}