Hugo Alliaume
74fbe59401
Run PHP-CS-Fixer (no_useless_else & static_lambda)
2026-02-03 22:36:24 +01:00
Hugo Alliaume
c14a0907be
[CI] Fix compatibility issues with Symfony 8 and spatie/phpunit-snapshot-assertions
2026-01-10 01:02:57 +01:00
Hugo Alliaume
8bef1f2024
Remove explicit configuration twig.exception_controller from Kernel for testing
...
Related to https://github.com/symfony/symfony/pull/51273#discussion_r2359723452
2025-09-25 09:20:40 +02:00
Dariusz Ruminski
299ad7907f
PHP CS Fixer - apply const->var annotation conversion
2025-09-02 18:34:50 +02:00
Hugo Alliaume
974d11f751
Remove some indirect deprecations
2025-08-25 23:33:06 +02:00
Hugo Alliaume
0a7f3a1b4e
[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
Hugo Alliaume
e7af2b2770
Run latest PHP-CS-Fixer with improved configuration
2025-08-14 22:58:41 +02:00
Simon André
211ed3c911
[Map] Add Clustering Algorithms
2025-08-07 23:49:43 +02:00
Hugo Alliaume
e824d0f34a
Add support for Symfony 8
2025-08-06 00:04:40 +02:00
Nicolas Grekas
ca4119e8d5
Apply fabbot rules
2025-07-29 17:18:27 +02:00
Hugo Alliaume
4d418ae89e
[Map] Add options minZoom and maxZoom
...
Co-authored-by: Nina Alin <56309556+nina-alin@users.noreply.github.com >
2025-07-07 09:04:19 +02:00
Hugo Alliaume
20710e90cf
[Map] Add extra data to Map
2025-06-23 14:21:48 +02:00
Hugo Alliaume
11d2392683
[Map] Remove "bounds" higher key from normalized Rectangle
2025-06-22 16:55:04 +02:00
Valmonzo
b6b8a155ec
[Map] Add support for rectangle
...
Co-authored-by: Hugo Alliaume <hugo@alliau.me >
2025-06-22 16:55:04 +02:00
Valmonzo
81d4877dcb
[Map] Add Circle support
2025-06-13 23:13:31 +02:00
Danny van Wijk
e31f255cd8
[Map] Add polygones-with-holes support
2025-05-26 23:59:34 +02:00
Hugo Alliaume
698357494d
[Map] Remove test for render_map deprecation
2025-05-20 10:17:01 +02:00
Hugo Alliaume
8faa581e43
[Map] Downgrade PHP requirement from 8.3 to 8.1
2025-04-15 22:49:05 +02:00
Hugo Alliaume
5503274c35
[Map] Rework SvgIcon and factory method name, UX Icon to get generated HTML, and icons rendering
2025-03-18 06:40:54 -05:00
Hugo Alliaume
819542b895
[Map] Refactor and simplify the way to create a custom Icon
2025-03-17 15:12:39 -05:00
Sylvain Blondeau
97d27ae464
feat: custom icon on markers
2025-03-15 20:07:50 +01:00
Sylvain Blondeau
05d69bdad0
[Map] Add dedicated methods to remove Marker, Polygon and Polyline instances from a Map
2025-02-15 17:18:56 +01:00
Simon André
45abfd49f8
[Map] Add new helpers: DistanceUnit, DistanceCalculator, CoordinateUtils
2025-02-08 00:56:36 +01:00
Sylvain Blondeau
211e15a9fb
[Map] Add support for Polyline
2024-11-23 00:43:29 +01:00
Hugo Alliaume
0fb89a899e
Apply @smnandre's suggestions from code review
...
Co-authored-by: Simon André <smn.andre@gmail.com >
2024-11-22 22:26:06 +01:00
Hugo Alliaume
fae2ffeb47
[Map] Listen for zoom, center, markers and polygons changes, and update JS tests
2024-11-22 22:26:06 +01:00
Hugo Alliaume
db8b58da4e
[Map] Complete and simplify the normalization/denormalization process of Map's value objects, add MapOptionsNormalizer
2024-11-22 22:26:06 +01:00
rrr63
db1fc9c98a
[Map] Add support for Polygons
2024-09-24 08:08:11 +02:00
Simon André
f88c6b00c0
[Map] Render map from Twig with ux_map() and <twig:ux:map />
2024-09-18 10:16:37 +02:00
Kevin Bond
fe86900bce
minor #2077 [CI] Update php-cs-fixer config (smnandre)
...
This PR was squashed before being merged into the 2.x branch.
Discussion
----------
[CI] Update php-cs-fixer config
* Update phh-cs-fixer version
* Follow symfony/symfony configuration (#57941 )
* Apply new rules
Commits
-------
09597b30 [CI] Update php-cs-fixer config
2024-08-20 11:18:51 -04:00
Simon André
8e322ae530
[CI] Update php-cs-fixer config
2024-08-20 11:18:47 -04:00
Simon André
f588a6a04d
Rename render_map Twig function ux_map
2024-08-16 21:05:52 +02:00
Hugo Alliaume
701e5de40f
[Map] Add the possibility to not configure map zoom/center if fit bounds to markers
2024-08-11 08:06:58 +02:00
Hugo Alliaume
8e45418cbe
[Map] Add "extra" data for markers and infowindows
2024-08-09 11:59:14 +02:00
Hugo Alliaume
5dfb2fa901
[Map] Rename "symfony/ux-map-%s" to "symfony/ux-%s-map"
2024-08-07 16:39:22 +02:00
Hugo Alliaume
aef37d501a
[Map] Create Map component
2024-08-07 14:14:07 +02:00