File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -78,13 +78,12 @@ Start by creating a new map instance::
78
78
Center and zoom
79
79
~~~~~~~~~~~~~~~
80
80
81
- You can set the center and zoom of the map using the ``center() `` and ``zoom() `` methods:
81
+ You can set the center and zoom of the map using the ``center() `` and ``zoom() `` methods::
82
82
83
83
use Symfony\UX\Map\Map;
84
84
use Symfony\UX\Map\Point;
85
85
86
86
$myMap
87
-
88
87
// Explicitly set the center and zoom
89
88
->center(new Point(46.903354, 1.888334))
90
89
->zoom(6)
@@ -96,7 +95,7 @@ You can set the center and zoom of the map using the ``center()`` and ``zoom()``
96
95
Add markers
97
96
~~~~~~~~~~~
98
97
99
- You can add markers to a map using the ``addMarker() `` method:
98
+ You can add markers to a map using the ``addMarker() `` method::
100
99
101
100
$myMap
102
101
->addMarker(new Marker(
@@ -134,7 +133,7 @@ You can add markers to a map using the ``addMarker()`` method:
134
133
Add Polygons
135
134
~~~~~~~~~~~~
136
135
137
- You can also add Polygons, which represents an area enclosed by a series of ``Point `` instances:
136
+ You can also add Polygons, which represents an area enclosed by a series of ``Point `` instances::
138
137
139
138
$myMap->addPolygon(new Polygon(
140
139
points: [
You can’t perform that action at this time.
0 commit comments