Skip to content

Commit 88f60dd

Browse files
authored
Apply suggestions from code review
1 parent 2bc9934 commit 88f60dd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Map/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
## 2.28
44

5-
- Add support for creating `Circle` by passing a `Point` and a radius in meters to the `Circle` constructor, e.g.:
5+
- Add support for creating `Circle` by passing a `Point` and a radius (in meters) to the `Circle` constructor, e.g.:
66
```php
77
$map->addCircle(new Circle(
88
center: new Point(48.856613, 2.352222), // Paris
9-
radius: 5000 // 5 km
9+
radius: 5_000 // 5km
1010
));
1111
```
1212
## 2.27

src/Map/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ You can add Circles, which represents a circular area defined by a center point
215215

216216
$map->addCircle(new Circle(
217217
center: new Point(48.8566, 2.3522),
218-
radius: 5000, // 5km radius
218+
radius: 5_000, // 5km
219219
title: 'Paris',
220220
infoWindow: new InfoWindow(
221221
content: 'A 5km radius circle centered on Paris',

0 commit comments

Comments
 (0)