com.amap.api.maps2d.model.MyLocationStyle Java Examples
The following examples show how to use
com.amap.api.maps2d.model.MyLocationStyle.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AMAPLocationActivity.java From sealtalk-android with MIT License | 5 votes |
private void setUpLocationStyle() { // 自定义系统定位蓝点 MyLocationStyle myLocationStyle = new MyLocationStyle(); myLocationStyle.myLocationIcon(BitmapDescriptorFactory. fromResource(R.drawable.img_location_now)); myLocationStyle.strokeWidth(0); myLocationStyle.strokeColor(R.color.main_theme_color); myLocationStyle.radiusFillColor(Color.TRANSPARENT); aMap.setMyLocationStyle(myLocationStyle); }
Example #2
Source File: AmapActivity.java From sealtalk-android with MIT License | 5 votes |
private void setUpLocationStyle() { // 自定义系统定位蓝点 MyLocationStyle myLocationStyle = new MyLocationStyle(); myLocationStyle.myLocationIcon(BitmapDescriptorFactory. fromResource(R.drawable.img_location_now)); myLocationStyle.strokeWidth(0); myLocationStyle.radiusFillColor(Color.TRANSPARENT); aMap.setMyLocationStyle(myLocationStyle); }