26 Commits

Author SHA1 Message Date
Steven Renaux
e0ca4e1a5e [Map] Add Map::removeAll*() methods 2025-12-26 10:58:22 +01:00
Hugo Alliaume
74b1c62839 Ensure PHP 8.5 compatibility 2025-08-22 16:23:49 +02:00
Hugo Alliaume
bb79feca75 [Map] Deprecate option title from Polygon, Polyline, Rectangle and Circle in favor of infoWindow
While writing E2E tests for Map, I found that our `title` option from `Polygon`, `Polyline`, `Rectangle` and `Circle` was wrongly used, and does not make sense.

Using `title` won't add an HTML attribute `title` as I expected, it's not something supported by Google nor Leaflet.
Instead, we used it to display a popup, like the `infoWindow` (which is more complete).

I suggest deprecating `title` from 2.x and remove it in 3.0.
2025-08-21 08:30:19 +02:00
Nicolas Grekas
a8ace6fc13 Apply fabbot rules 2025-07-29 17:18:27 +02:00
Hugo Alliaume
a6c8d6e301 [Map] Add extra data to Map 2025-06-23 14:21:48 +02:00
Hugo Alliaume
0825adbba5 [Map] Fix usage of Circle and Rectangle with LiveComponent, by computing @id is expected 2025-06-22 16:55:04 +02:00
Hugo Alliaume
5cd999ef4a [Map] Remove "bounds" higher key from normalized Rectangle 2025-06-22 16:55:04 +02:00
Valmonzo
65dd576fd5 [Map] Add support for rectangle
Co-authored-by: Hugo Alliaume <hugo@alliau.me>
2025-06-22 16:55:04 +02:00
Valmonzo
ce955a9875 [Map] Add Circle support 2025-06-13 23:13:31 +02:00
Danny van Wijk
6106ab6183 [Map][Leaflet] Add options attributionControl, attributionControlOptions, zoomControl and zoomControlOptions 2025-06-10 20:59:42 +02:00
Danny van Wijk
3b2c65813f [Map] Optional leaflet tilelayer 2025-05-28 21:24:06 +02:00
Hugo Alliaume
0c8f2d5ca3 [Map] Make renderer tests way easier to maintain, use snapshots 2025-03-27 18:10:30 +01:00
Hugo Alliaume
78d049f8da [Map] Rework UxIconRenderer injection 2025-03-18 12:42:37 -05:00
Hugo Alliaume
afecd8ebb4 [Map] Refactor and simplify the way to create a custom Icon 2025-03-17 15:12:39 -05:00
Sylvain Blondeau
282a147d42 feat: custom icon on markers 2025-03-15 20:07:50 +01:00
Sylvain Blondeau
4a3555ac12 allow marker, polygone and polyline removal 2025-02-13 22:23:43 +01:00
Sylvain Blondeau
e0e201917c [Map] Add support for Polyline 2024-11-23 00:43:29 +01:00
Hugo Alliaume
5b5aec66d7 [Map] Complete and simplify the normalization/denormalization process of Map's value objects, add MapOptionsNormalizer 2024-11-22 22:26:06 +01:00
Hugo Alliaume
aeba947a36 [Map] Add "fromArray" methods to options and other DTO, make "*Array" methods internal 2024-11-22 22:26:05 +01:00
Hugo Alliaume
a8be0346f0 [Map] Split "view" attribute into multiple attributes 2024-11-22 22:26:05 +01:00
Hugo Alliaume
7f2b9a96d8 [Map] Fix Bridges tests 2024-09-25 16:22:09 +02:00
rrr63
437779e3ae [Map] Add support for Polygons 2024-09-24 08:08:11 +02:00
Hugo Alliaume
fc82a3025b [Map] Add "extra" data for markers and infowindows 2024-08-09 11:59:14 +02:00
Hugo Alliaume
f22b1392ff [Map] Fix custom attribute "data-controller" 2024-08-08 09:41:43 +02:00
Hugo Alliaume
8c708b5a62 [Map] Rename "symfony/ux-map-%s" to "symfony/ux-%s-map" 2024-08-07 16:39:22 +02:00
Hugo Alliaume
feaa3c5f6a [Map] Create Map component 2024-08-07 14:14:07 +02:00