We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e74c44e commit a432df8Copy full SHA for a432df8
src/Map/doc/index.rst
@@ -116,7 +116,7 @@ You can add markers to a map using the ``addMarker()`` method::
116
// You can also pass arbitrary data via the `extra` option in both the marker
117
// and the infoWindow; you can later use this data in your custom Stimulus controllers
118
->addMarker(new Marker(
119
- // ...
+ position: new Point(45.7740, 4.8351),
120
extra: [
121
'icon_mask_url' => 'https://maps.gstatic.com/mapfiles/place_api/icons/v2/tree_pinlet.svg',
122
],
@@ -127,7 +127,7 @@ You can add markers to a map using the ``addMarker()`` method::
127
'includes_link' => true,
128
129
),
130
- )
+ ))
131
;
132
133
Add Polygons
0 commit comments