Skip to content

Commit

Permalink
add position and missing closing parenthesis
Browse files Browse the repository at this point in the history
so that it works when blindly cutting and pasting.
  • Loading branch information
tacman authored Nov 10, 2024
1 parent e74c44e commit a432df8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Map/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ You can add markers to a map using the ``addMarker()`` method::
// You can also pass arbitrary data via the `extra` option in both the marker
// and the infoWindow; you can later use this data in your custom Stimulus controllers
->addMarker(new Marker(
// ...
position: new Point(45.7740, 4.8351),
extra: [
'icon_mask_url' => 'https://maps.gstatic.com/mapfiles/place_api/icons/v2/tree_pinlet.svg',
],
Expand All @@ -127,7 +127,7 @@ You can add markers to a map using the ``addMarker()`` method::
'includes_link' => true,
],
),
)
))
;

Add Polygons
Expand Down

0 comments on commit a432df8

Please sign in to comment.