opt
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user