Skip to content

Commit 67befe6

Browse files
committed
yarn build
1 parent fde4dee commit 67befe6

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

src/Map/assets/dist/abstract_map_controller.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ export default abstract class<MapOptions, Map, MarkerOptions, Marker, InfoWindow
6767
protected abstract doCreatePolyline(definition: PolylineDefinition<PolylineOptions, InfoWindowOptions>): Polyline;
6868
protected createInfoWindow({ definition, element, }: {
6969
definition: MarkerDefinition<MarkerOptions, InfoWindowOptions>['infoWindow'] | PolygonDefinition<PolygonOptions, InfoWindowOptions>['infoWindow'] | PolylineDefinition<PolylineOptions, InfoWindowOptions>['infoWindow'];
70-
element: Marker | Polygon| Polyline;
70+
element: Marker | Polygon | Polyline;
7171
}): InfoWindow;
7272
protected abstract doCreateInfoWindow({ definition, element, }: {
7373
definition: MarkerDefinition<MarkerOptions, InfoWindowOptions>['infoWindow'];
7474
element: Marker;
7575
} | {
7676
definition: PolygonDefinition<PolygonOptions, InfoWindowOptions>['infoWindow'];
7777
element: Polygon;
78-
}| {
78+
} | {
7979
definition: PolylineDefinition<PolylineOptions, InfoWindowOptions>['infoWindow'];
8080
element: Polyline;
8181
}): InfoWindow;

src/Map/assets/dist/abstract_map_controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class default_1 extends Controller {
99
this.polylines = [];
1010
}
1111
connect() {
12-
const { center, zoom, options, markers, polygons, polylines, fitBoundsToMarkers } = this.viewValue;
12+
const { center, zoom, options, markers, polygons, fitBoundsToMarkers } = this.viewValue;
1313
this.dispatchEvent('pre-connect', { options });
1414
this.map = this.doCreateMap({ center, zoom, options });
1515
markers.forEach((marker) => this.createMarker(marker));

src/Map/src/Bridge/Google/assets/dist/map_controller.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import AbstractMapController from '@symfony/ux-map';
22
import type { Point, MarkerDefinition, PolygonDefinition, PolylineDefinition } from '@symfony/ux-map';
33
import type { LoaderOptions } from '@googlemaps/js-api-loader';
44
type MapOptions = Pick<google.maps.MapOptions, 'mapId' | 'gestureHandling' | 'backgroundColor' | 'disableDoubleClickZoom' | 'zoomControl' | 'zoomControlOptions' | 'mapTypeControl' | 'mapTypeControlOptions' | 'streetViewControl' | 'streetViewControlOptions' | 'fullscreenControl' | 'fullscreenControlOptions'>;
5-
export default class extends AbstractMapController<MapOptions, google.maps.Map, google.maps.marker.AdvancedMarkerElementOptions, google.maps.marker.AdvancedMarkerElement, google.maps.InfoWindowOptions, google.maps.InfoWindow, google.maps.PolygonOptions, google.maps.Polygon> {
5+
export default class extends AbstractMapController<MapOptions, google.maps.Map, google.maps.marker.AdvancedMarkerElementOptions, google.maps.marker.AdvancedMarkerElement, google.maps.InfoWindowOptions, google.maps.InfoWindow, google.maps.PolygonOptions, google.maps.Polygon, google.maps.PolylineOptions, google.maps.Polyline> {
66
static values: {
77
providerOptions: ObjectConstructor;
88
};

src/Map/src/Bridge/Google/assets/dist/map_controller.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ let default_1$1 = class default_1 extends Controller {
1010
this.polylines = [];
1111
}
1212
connect() {
13-
const { center, zoom, options, markers, polygons, polylines, fitBoundsToMarkers } = this.viewValue;
13+
const { center, zoom, options, markers, polygons, fitBoundsToMarkers } = this.viewValue;
1414
this.dispatchEvent('pre-connect', { options });
1515
this.map = this.doCreateMap({ center, zoom, options });
1616
markers.forEach((marker) => this.createMarker(marker));
@@ -120,7 +120,7 @@ class default_1 extends default_1$1 {
120120
const { points, title, infoWindow, rawOptions = {} } = definition;
121121
const polygon = new _google.maps.Polygon({
122122
...rawOptions,
123-
path: points,
123+
paths: points,
124124
map: this.map,
125125
});
126126
if (title) {

src/Map/src/Bridge/Leaflet/assets/dist/map_controller.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ export default class extends AbstractMapController<MapOptions, typeof L.Map, Mar
2727
}): L.Popup;
2828
protected doFitBoundsToMarkers(): void;
2929
}
30-
export { };
30+
export {};

src/Map/src/Bridge/Leaflet/assets/dist/map_controller.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class default_1 extends Controller {
1111
this.polylines = [];
1212
}
1313
connect() {
14-
const { center, zoom, options, markers, polygons, polylines, fitBoundsToMarkers } = this.viewValue;
14+
const { center, zoom, options, markers, polygons, fitBoundsToMarkers } = this.viewValue;
1515
this.dispatchEvent('pre-connect', { options });
1616
this.map = this.doCreateMap({ center, zoom, options });
1717
markers.forEach((marker) => this.createMarker(marker));
@@ -48,7 +48,7 @@ class default_1 extends Controller {
4848
this.dispatchEvent('polyline:after-create', { polyline });
4949
this.polylines.push(polyline);
5050
return polyline;
51-
}
51+
}
5252
createInfoWindow({ definition, element, }) {
5353
this.dispatchEvent('info-window:before-create', { definition, element });
5454
const infoWindow = this.doCreateInfoWindow({ definition, element });

0 commit comments

Comments
 (0)