From 90c21944a73b2e535bc7807f78bad042294568ad Mon Sep 17 00:00:00 2001 From: Traineratwot Date: Tue, 23 Jan 2024 09:02:42 +0000 Subject: [PATCH 1/2] Fix styling --- src/Forms/Components/MapInput.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Forms/Components/MapInput.php b/src/Forms/Components/MapInput.php index fb7d4dc..72399cd 100644 --- a/src/Forms/Components/MapInput.php +++ b/src/Forms/Components/MapInput.php @@ -20,6 +20,7 @@ class MapInput extends Textarea * @var 'Point'|'String'|'Array' */ public string $saveAs = 'String'; + private Closure|int|float $zoom = 10; /** @@ -140,7 +141,7 @@ protected function parseInput(mixed $state): array } /** - * @param float|int|Closure $zoom 1-20 (default 10) + * @param float|int|Closure $zoom 1-20 (default 10) * @return $this */ public function zoom(float|int|Closure $zoom): static @@ -151,7 +152,6 @@ public function zoom(float|int|Closure $zoom): static } /** - * @param float|int|Closure $latitude * @return $this */ public function latitude(float|int|Closure $latitude): static @@ -162,7 +162,6 @@ public function latitude(float|int|Closure $latitude): static } /** - * @param float|int|Closure $longitude * @return $this */ public function longitude(float|int|Closure $longitude): static @@ -173,8 +172,6 @@ public function longitude(float|int|Closure $longitude): static } /** - * @param float|int|Closure $latitude - * @param float|int|Closure $longitude * @return $this */ public function coordinates(float|int|Closure $latitude, float|int|Closure $longitude): static From 7c991ad499a1b2bb7a8b53db8b879d26d061ab67 Mon Sep 17 00:00:00 2001 From: Traineratwot Date: Tue, 23 Jan 2024 09:05:07 +0000 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 528b45f..8ecf38e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to `filament-openstreetmap` will be documented in this file. +## 1.2.1 - 2024-01-23 + +**Full Changelog**: https://github.com/Traineratwot/filament-openstreetmap/compare/1.2...1.2.1 + +Added method `zoom(10)` for change zoom map + +Improved dissable behavior + ## 1.2.0 - 2024-01-22 **Full Changelog**: https://github.com/Traineratwot/filament-openstreetmap/compare/1.1.0...1.2.0