我正在使用具有Premium版本的Android的HereMaps SDK。有什么方法可以设置路线的粗细?我可以使用MapRoute类的color和traveledColor属性更改颜色,但是找不到有关厚度的任何属性。
请在此处检查MapPolyline类“ https://developer.here.com/documentation/android-premium/3.11/api_reference_java/com/here/android/mpa/mapping/MapPolyline.html”,
它确实使用setLineWidth方法设置宽度。
setLineWidth(int width)
Sets a line width, in pixels, for this MapPolyline, an int value within the [0..100] range.