You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why do i get this error when i am trying to draw polyline on the map?
System.err: An uncaught Exception occurred on "main" thread.
System.err: Calling js method onItemClick failed
System.err: TypeError: shape.loadPoints is not a function
let shape = new com.google.android.gms.maps.model.PolylineOptions();
item.directions.forEach(direction => {
shape.add(new com.google.android.gms.maps.model.LatLng(direction[0],direction[1]))
});
global.account.getViewById('map').addPolyline(shape);
The text was updated successfully, but these errors were encountered:
Why do i get this error when i am trying to draw polyline on the map?
The text was updated successfully, but these errors were encountered: