In bridge documentations ([Google](https://github.com/symfony/ux-google-map?tab=readme-ov-file#customize-the-marker), [Leaflet](https://github.com/symfony/ux-leaflet-map?tab=readme-ov-file#customize-the-marker)), it state that we can customize the marker icon with `bridgeOptions`. However, based on this [line](https://github.com/symfony/ux/blob/2.x/src/Map/src/Bridge/Leaflet/assets/src/map_controller.ts#L156), it would seem that this is not the case. For now my solution is to delete the `icon` key from the `definition` object: ```js delete definition.icon; ``` But adding a check would improve DX! ```js if (icon && !Object.hasOwn(rawOptions, 'icon') && !Object.hasOwn(bridgeOptions, 'icon')) { this.doCreateIcon({ definition: icon, element: marker }); } ```