Skip to content

Commit

Permalink
update map documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Brabenetz committed May 17, 2021
1 parent 8907f8a commit bc87cee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions documentation/map.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ map.addMarker(
Adding a circle:
```kotlin
map.addCircle(
Circle.CircleOptions()
CircleOptions()
.center(location)
.radius(100.0)
.fillColor(Color.YELLOW)
Expand Down Expand Up @@ -103,7 +103,7 @@ Adding a polyline:
map.addPolyline(
PolylineOptions()
.add(location1, location2)
.strokeWidth(15f)
.width(15f)
.startCap(Cap.RoundCap())
.endCap(Cap.SquareCap())
.zIndex(2f)
Expand Down

0 comments on commit bc87cee

Please sign in to comment.