@symfony/ux-google-map 3.2.0 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,17 +5,35 @@ const IconTypes = {
5
5
  Svg: "svg",
6
6
  UxIcon: "ux-icon"
7
7
  };
8
- var _Class = class extends Controller {
9
- constructor(..._args) {
10
- super(..._args);
11
- this.markers = /* @__PURE__ */ new Map();
12
- this.polygons = /* @__PURE__ */ new Map();
13
- this.polylines = /* @__PURE__ */ new Map();
14
- this.circles = /* @__PURE__ */ new Map();
15
- this.rectangles = /* @__PURE__ */ new Map();
16
- this.infoWindows = [];
17
- this.isConnected = false;
18
- }
8
+ var abstract_map_controller_default = class extends Controller {
9
+ static values = {
10
+ providerOptions: Object,
11
+ center: Object,
12
+ zoom: Number,
13
+ minZoom: Number,
14
+ maxZoom: Number,
15
+ fitBoundsToMarkers: Boolean,
16
+ markers: Array,
17
+ polygons: Array,
18
+ polylines: Array,
19
+ circles: Array,
20
+ rectangles: Array,
21
+ options: Object,
22
+ extra: Object
23
+ };
24
+ map;
25
+ markers = /* @__PURE__ */ new Map();
26
+ polygons = /* @__PURE__ */ new Map();
27
+ polylines = /* @__PURE__ */ new Map();
28
+ circles = /* @__PURE__ */ new Map();
29
+ rectangles = /* @__PURE__ */ new Map();
30
+ infoWindows = [];
31
+ isConnected = false;
32
+ createMarker;
33
+ createPolygon;
34
+ createPolyline;
35
+ createCircle;
36
+ createRectangle;
19
37
  connect() {
20
38
  const extra = this.hasExtraValue ? this.extraValue : {};
21
39
  const mapDefinition = {
@@ -127,26 +145,11 @@ var _Class = class extends Controller {
127
145
  });
128
146
  }
129
147
  };
130
- _Class.values = {
131
- providerOptions: Object,
132
- center: Object,
133
- zoom: Number,
134
- minZoom: Number,
135
- maxZoom: Number,
136
- fitBoundsToMarkers: Boolean,
137
- markers: Array,
138
- polygons: Array,
139
- polylines: Array,
140
- circles: Array,
141
- rectangles: Array,
142
- options: Object,
143
- extra: Object
144
- };
145
148
  let _loading = false;
146
149
  let _loaded = false;
147
150
  let _onLoadedCallbacks = [];
148
151
  const parser = new DOMParser();
149
- var map_controller_default = class extends _Class {
152
+ var map_controller_default = class extends abstract_map_controller_default {
150
153
  async connect() {
151
154
  const onLoaded = () => super.connect();
152
155
  if (_loaded) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@symfony/ux-google-map",
3
3
  "description": "GoogleMaps bridge for Symfony UX Map, integrate interactive maps in your Symfony applications",
4
4
  "license": "MIT",
5
- "version": "3.2.0",
5
+ "version": "3.5.1",
6
6
  "keywords": [
7
7
  "symfony-ux",
8
8
  "google-maps",