Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Commit

Permalink
Add center circle rendering.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebronner committed Sep 8, 2019
1 parent 6ffd574 commit ae883a4
Show file tree
Hide file tree
Showing 6 changed files with 52,686 additions and 150 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [0.1.11] - 2019-09-08
### Added
- option to add a center circle to be displayed on the map.

## [0.1.10] - 2019-08-25
### Fixed
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ MapMarker::make("Location")
->defaultLongitude(-71.422222),
```

### Center Circle
The optional `centerCircle()` method allows the addition of a circle to be
rendered at the centerpoint of the map.
```php
MapMarker::make("Location")
->centerCircle($radiusInMeters, $color, $borderWidth, $backgroundOpacity),
```

### Search Provider
The underlying search capabilities are provided by
[leaflet-geosearch](https://github.com/smeijer/leaflet-geosearch). Please refer
Expand Down
Loading

0 comments on commit ae883a4

Please sign in to comment.