-
-
Notifications
You must be signed in to change notification settings - Fork 383
[Map] Display warning when trying to define a custom icon for a Marker
that already has an Icon
#3118
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
Conversation
2a76425
to
ecaa959
Compare
📊 Packages dist files size differenceThanks for the PR! Here is the difference in size of the packages dist files between the base branch and the PR.
|
Following #3116 (comment), I suggest instead log a warning message if we saw that the user tried to create an icon from the JavaScript side (through |
ecaa959
to
fbe1c48
Compare
I updated the PR to trigger a warning, as you suggested 👍! |
Should this be done on the PHP part ? |
No because we want to verify that the user, through a Stimulus Controller, tried to add an icon by itself with |
fbe1c48
to
b3d5c4d
Compare
Marker
that already has an Icon
## 2.30 | ||
|
||
- Ensure compatibility with PHP 8.5 | ||
- Display a warning when trying to define `bridgeOptions.content` for a `Marker` that already has an `Icon` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## 2.30 | |
- Ensure compatibility with PHP 8.5 | |
- Display a warning when trying to define `bridgeOptions.content` for a `Marker` that already has an `Icon` | |
## 2.31 | |
- Display a warning when trying to define `bridgeOptions.content` for a `Marker` that already has an `Icon` | |
## 2.30 | |
- Ensure compatibility with PHP 8.5 |
2.30
has already been release!
## 2.30 | ||
|
||
- Ensure compatibility with PHP 8.5 | ||
- Display a warning when trying to define `bridgeOptions.icon` for a `Marker` that already has an `Icon` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## 2.30 | |
- Ensure compatibility with PHP 8.5 | |
- Display a warning when trying to define `bridgeOptions.icon` for a `Marker` that already has an `Icon` | |
## 2.31 | |
- Display a warning when trying to define `bridgeOptions.icon` for a `Marker` that already has an `Icon` | |
## 2.30 | |
- Ensure compatibility with PHP 8.5 |
…er` that already has an `Icon`
b3d5c4d
to
6a6b230
Compare
Thank you @ker0x. |
Add additional checks before creating the icon for a marker