undefinedfix
Sign in

HTML5 + API uniapp to develop and draw broken line on map

Amer edited in Fri, 23 Sep 2022

图片描述

You passing gods, why do I draw a broken line and set the broken line color? Setstorkecolor will report an error and say that this method does not exist, but there is one in the API

1 Replies
ChOkheli
commented on Fri, 23 Sep 2022

The official demo is wrong. official api:void polylineObj.setStrokeColor (color); official Demo: / /, set the broken line to red polylineObj.setStorkeColor ("#ff0000"); is "stroke" not "storke"