[Overview] high moral map api api has drawn a line drawn monochrome, the texture is to achieve what?
[High] De api address https://lbs.amap.com/api/android-sdk/guide/draw-on-map/draw-polyline
【achieve】:
① monochrome lines:
aMap.addPolyline(new PolylineOptions().
addAll(latLngs).width(10).color(Color.argb(255, 1, 1, 1)));
② Texture Line:
drawableSource :
aMap.addPolyline(new PolylineOptions()
.setCustomTexture
(BitmapDescriptorFactory.fromResource(R.drawable.blue_lines))