开发者

problem with drawing line(directions) on Map?

开发者 https://www.devze.com 2023-01-31 22:28 出处:网络
In my map i used to given route,from and to directions in CAR mode but the lines in curving place are 开发者_JS百科breaking.I want to give smooth lines without breaking.Please give me guidance.if we w

In my map i used to given route,from and to directions in CAR mode but the lines in curving place are 开发者_JS百科breaking.I want to give smooth lines without breaking.Please give me guidance.


if we want to get smooth lines the use below lines in ur code

Paint paint = new Paint(); paint.setStrokeJoin(Paint.Join.ROUND); paint.setStrokeCap(Paint.Cap.ROUND);

I used above lines to get smooth direction route.

0

精彩评论

暂无评论...
验证码 换一张
取 消