-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release 1.0.7, Close Issue #10 , 添加Logo位置设置
- Loading branch information
Showing
14 changed files
with
274 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
android/src/main/java/com/amap/flutter/map/core/UISettingsSink.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package com.amap.flutter.map.core; | ||
|
||
import androidx.annotation.IntRange; | ||
|
||
import com.amap.api.maps.AMapOptions; | ||
|
||
/** | ||
* @author kuloud | ||
*/ | ||
public interface UISettingsSink { | ||
|
||
/** | ||
* 设置“高德地图”Logo的位置。 | ||
* | ||
* @param logoPosition | ||
*/ | ||
void setLogoPosition(@IntRange(from = AMapOptions.LOGO_POSITION_BOTTOM_LEFT, to = AMapOptions.LOGO_POSITION_BOTTOM_RIGHT) int logoPosition); | ||
|
||
/** | ||
* 获取“高德地图”Logo的位置。 | ||
* | ||
* @return | ||
*/ | ||
int getLogoPosition(); | ||
|
||
/** | ||
* 设置Logo下边界距离屏幕底部的边距 | ||
* Note: SDK 内有setLogoMarginRate接口按比例设置Logo位置,但是高德官方文档没有相关参数描述 | ||
* | ||
* @param pixels | ||
*/ | ||
void setLogoBottomMargin(int pixels); | ||
|
||
/** | ||
* 设置Logo左边界距离屏幕左侧的边距 | ||
* Note: SDK 内有setLogoMarginRate接口按比例设置Logo位置,但是高德官方文档没有相关参数描述 | ||
* | ||
* @param pixels | ||
*/ | ||
void setLogoLeftMargin(int pixels); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.