@@ -65,7 +65,7 @@ export type MarkerDefinition<BridgeMarkerOptions, BridgeInfoWindowOptions> = Wit
6565 infoWindow ?: Omit < InfoWindowDefinition < BridgeInfoWindowOptions > , 'position' > ;
6666 icon ?: Icon ;
6767 /**
68- * @deprecated Use "bridgeOptions" instead.
68+ * @deprecated since Symfony UX Map 2.27, use "bridgeOptions" instead.
6969 * Raw options passed to the marker constructor, specific to the map provider (e.g.: `L.marker()` for Leaflet).
7070 */
7171 rawOptions ?: BridgeMarkerOptions ;
@@ -86,9 +86,12 @@ export type MarkerDefinition<BridgeMarkerOptions, BridgeInfoWindowOptions> = Wit
8686export type PolygonDefinition < BridgePolygonOptions , BridgeInfoWindowOptions > = WithIdentifier < {
8787 infoWindow ?: Omit < InfoWindowDefinition < BridgeInfoWindowOptions > , 'position' > ;
8888 points : Array < Point > | Array < Array < Point > > ;
89+ /**
90+ * @deprecated since Symfony UX Map 2.29, use "infoWindow" instead
91+ */
8992 title : string | null ;
9093 /**
91- * @deprecated Use "bridgeOptions" instead.
94+ * @deprecated since Symfony UX Map 2.27, use "bridgeOptions" instead.
9295 * Raw options passed to the polygon constructor, specific to the map provider (e.g.: `L.polygon()` for Leaflet).
9396 */
9497 rawOptions ?: BridgePolygonOptions ;
@@ -109,9 +112,12 @@ export type PolygonDefinition<BridgePolygonOptions, BridgeInfoWindowOptions> = W
109112export type PolylineDefinition < BridgePolylineOptions , BridgeInfoWindowOptions > = WithIdentifier < {
110113 infoWindow ?: Omit < InfoWindowDefinition < BridgeInfoWindowOptions > , 'position' > ;
111114 points : Array < Point > ;
115+ /**
116+ * @deprecated since Symfony UX Map 2.29, use "infoWindow" instead
117+ */
112118 title : string | null ;
113119 /**
114- * @deprecated Use "bridgeOptions" instead.
120+ * @deprecated since Symfony UX Map 2.27, use "bridgeOptions" instead.
115121 * Raw options passed to the polyline constructor, specific to the map provider (e.g.: `L.polyline()` for Leaflet).
116122 */
117123 rawOptions ?: BridgePolylineOptions ;
@@ -133,9 +139,12 @@ export type CircleDefinition<BridgeCircleOptions, BridgeInfoWindowOptions> = Wit
133139 infoWindow ?: Omit < InfoWindowDefinition < BridgeInfoWindowOptions > , 'position' > ;
134140 center : Point ;
135141 radius : number ;
142+ /**
143+ * @deprecated since Symfony UX Map 2.29, use "infoWindow" instead
144+ */
136145 title : string | null ;
137146 /**
138- * @deprecated Use "bridgeOptions" instead.
147+ * @deprecated since Symfony UX Map 2.27, use "bridgeOptions" instead.
139148 * Raw options passed to the circle constructor, specific to the map provider (e.g.: `L.circle()` for Leaflet).
140149 */
141150 rawOptions ?: BridgeCircleOptions ;
@@ -157,9 +166,12 @@ export type RectangleDefinition<BridgeRectangleOptions, BridgeInfoWindowOptions>
157166 infoWindow ?: Omit < InfoWindowDefinition < BridgeInfoWindowOptions > , 'position' > ;
158167 southWest : Point ;
159168 northEast : Point ;
169+ /**
170+ * @deprecated since Symfony UX Map 2.29, use "infoWindow" instead
171+ */
160172 title : string | null ;
161173 /**
162- * @deprecated Use "bridgeOptions" instead.
174+ * @deprecated since Symfony UX Map 2.27, use "bridgeOptions" instead.
163175 * Raw options passed to the rectangle constructor, specific to the map provider (e.g.: `L.rectangle()` for Leaflet).
164176 */
165177 rawOptions ?: BridgeRectangleOptions ;
@@ -184,7 +196,7 @@ export type InfoWindowDefinition<BridgeInfoWindowOptions> = {
184196 opened : boolean ;
185197 autoClose : boolean ;
186198 /**
187- * @deprecated Use "bridgeOptions" instead.
199+ * @deprecated since Symfony UX Map 2.27, use "bridgeOptions" instead.
188200 * Raw options passed to the info window constructor, specific to the map provider (e.g.: `google.maps.InfoWindow()` for Google Maps).
189201 */
190202 rawOptions ?: BridgeInfoWindowOptions ;
0 commit comments