dev
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package com.mogo.map.uicontroller;
|
||||
|
||||
import com.mogo.map.MogoLatLng;
|
||||
|
||||
/**
|
||||
* @author congtaowang
|
||||
* @since 2019-12-26
|
||||
@@ -22,6 +24,13 @@ public interface IMogoMapUIController {
|
||||
*/
|
||||
void changeZoom( boolean zoomIn );
|
||||
|
||||
/**
|
||||
* 修改缩放级别
|
||||
*
|
||||
* @param zoom
|
||||
*/
|
||||
void changeZoom( float zoom );
|
||||
|
||||
/**
|
||||
* 切换2D/3D模式
|
||||
*
|
||||
@@ -32,7 +41,7 @@ public interface IMogoMapUIController {
|
||||
/**
|
||||
* 将地图移动至当前位置
|
||||
*/
|
||||
void moveToCurrentLocation();
|
||||
void moveToCenter( MogoLatLng latLng );
|
||||
|
||||
/**
|
||||
* 显示我的位置
|
||||
@@ -50,4 +59,11 @@ public interface IMogoMapUIController {
|
||||
* 预览全程
|
||||
*/
|
||||
void displayOverview();
|
||||
|
||||
/**
|
||||
* 获取比例尺数据
|
||||
*
|
||||
* @return 当前缩放级别下,地图上1像素点对应的长度,单位米
|
||||
*/
|
||||
float getScalePerPixel();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user