Skip to content

[Map] Add Circle support #2838

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 13, 2025
Merged

Conversation

Valmonzo
Copy link
Contributor

@Valmonzo Valmonzo commented Jun 13, 2025

Q A
Bug fix? no
New feature? yes
Docs? yes
Issues
License MIT

Add Circle support for map (Googlemap and leaflet)

Capture d’écran 2025-06-13 à 14 02 13 Capture d’écran 2025-06-13 à 14 00 04

@Valmonzo Valmonzo force-pushed the feat/add-circle-support-on-map branch from 9189aa7 to a9aebb0 Compare June 13, 2025 10:22
Copy link
Contributor

github-actions bot commented Jun 13, 2025

📊 Packages dist files size difference

Thanks for the PR! Here is the difference in size of the packages dist files between the base branch and the PR.
Please review the changes and make sure they are expected.

FileBefore (Size / Gzip)After (Size / Gzip)
Map
abstract_map_controller.d.ts 4.97 kB / 1.16 kB 5.75 kB+16% 📈 / 1.25 kB+8% 📈
abstract_map_controller.js 3.99 kB / 1.07 kB 4.48 kB+12% 📈 / 1.14 kB+6% 📈
Map (Bridge Google)
map_controller.d.ts 2.73 kB / 828 B 3.03 kB+11% 📈 / 866 B+5% 📈
map_controller.js 11.18 kB / 2.53 kB 12.22 kB+9% 📈 / 2.65 kB+5% 📈
Map (Bridge Leaflet)
map_controller.d.ts 2.38 kB / 734 B 2.63 kB+10% 📈 / 781 B+6% 📈
map_controller.js 10.09 kB / 2.65 kB 11.06 kB+10% 📈 / 2.77 kB+4% 📈

@Valmonzo Valmonzo marked this pull request as ready for review June 13, 2025 12:03
@carsonbot carsonbot added Feature New Feature Map Status: Needs Review Needs to be reviewed labels Jun 13, 2025
Comment on lines +211 to +212
Add Circles
~~~~~~~~~~~
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not for this PR, but I feel like we should start to link Google Maps/Leaflet documentation for markers, polygones, etc...

@carsonbot carsonbot added Status: Reviewed Has been reviewed by a maintainer and removed Status: Needs Review Needs to be reviewed labels Jun 13, 2025
@Kocal Kocal changed the title [Map] add Circle support [Map] Add Circle support Jun 13, 2025
@Kocal Kocal force-pushed the feat/add-circle-support-on-map branch from 88f60dd to 0839a1d Compare June 13, 2025 21:13
@Kocal
Copy link
Member

Kocal commented Jun 13, 2025

Thank you @Valmonzo.

@Kocal Kocal merged commit 00e013e into symfony:2.x Jun 13, 2025
25 checks passed
@Valmonzo Valmonzo deleted the feat/add-circle-support-on-map branch June 16, 2025 10:02
Kocal added a commit that referenced this pull request Jun 22, 2025
…and `Rectangle` (Kocal)

This PR was merged into the 2.x branch.

Discussion
----------

[Map][Google] Fix `InfoWindow` compatibility with `Circle` and `Rectangle`

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Docs?         | no <!-- required for new features -->
| Issues        | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License       | MIT

<!--
Replace this notice by a description of your feature/bugfix.
This will help reviewers and should be a good start for the documentation.

Additionally (see https://symfony.com/releases):
 - Always add tests and ensure they pass.
 - For new features, provide some code snippets to help understand usage.
 - Features and deprecations must be submitted against branch main.
 - Update/add documentation as required (we can help!)
 - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
 - Never break backward compatibility (see https://symfony.com/bc).
-->

Looks like using `InfoWindow` with Google Maps `Circle` and `Rectangle` has not been tested when working on #2845  and #2838  :(

Commits
-------

ac68141 [Map][Google] Fix `InfoWindow` compatibility with `Circle` and `Rectangle`
Kocal added a commit that referenced this pull request Jun 23, 2025
…tributes (Valmonzo)

This PR was merged into the 2.x branch.

Discussion
----------

[Map] Update test to include circle and rectangle data attributes

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| Docs?         | no
| Issues        |
| License       | MIT

Fix typo from #2845 and missing circles attributes from #2838 , sorry `@Kocal` 😞

Commits
-------

2b65124 [Map] Update test to include circle and rectangle data attributes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New Feature Map Status: Reviewed Has been reviewed by a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants