Skip to content

Commit

Permalink
Correct typo in MapPin example usage docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rmartin16 committed Jun 6, 2024
1 parent ee8a4fe commit e098abd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/api/widgets/mapview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ updated and removed at runtime:
mapview = toga.MapView(
pins=[
toga.MapPin(toga.MapPin((-31.95064, 115.85889), title="Yagan Square"))
toga.MapPin((-31.95064, 115.85889), title="Yagan Square"),
]
)
# Create a new pin, and add it to the map
brutus = toga.MapPin(toga.MapPin((41.50375, -81.69475), title="Brutus was here"))
brutus = toga.MapPin((41.50375, -81.69475), title="Brutus was here")
mapview.pins.add(brutus)
# Update the pin label and position
Expand Down

0 comments on commit e098abd

Please sign in to comment.