@appbaseio/reactivesearch-vue 1.16.0-alpha.31 → 1.16.0-alpha.32
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.
- package/dist/@appbaseio/reactivesearch-vue.umd.js +23 -16
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/ReactiveGoogleMap.js +8 -3
- package/dist/cjs/version.js +1 -1
- package/dist/es/ReactiveGoogleMap.js +8 -3
- package/dist/es/version.js +1 -1
- package/package.json +1 -1
|
@@ -1239,7 +1239,8 @@ var GoogleMapMarker = {
|
|
|
1239
1239
|
},
|
|
1240
1240
|
data: function data() {
|
|
1241
1241
|
return {
|
|
1242
|
-
zIndex: 0
|
|
1242
|
+
zIndex: 0,
|
|
1243
|
+
markerIcon: null
|
|
1243
1244
|
};
|
|
1244
1245
|
},
|
|
1245
1246
|
methods: {
|
|
@@ -1371,6 +1372,10 @@ var GoogleMapMarker = {
|
|
|
1371
1372
|
}
|
|
1372
1373
|
|
|
1373
1374
|
if (renderItem) {
|
|
1375
|
+
marker.setIcon = function (icon) {
|
|
1376
|
+
_this2.markerIcon = icon;
|
|
1377
|
+
};
|
|
1378
|
+
|
|
1374
1379
|
var data = renderItem(marker);
|
|
1375
1380
|
|
|
1376
1381
|
if ('label' in data) {
|
|
@@ -1428,12 +1433,12 @@ var GoogleMapMarker = {
|
|
|
1428
1433
|
return h(Marker, {
|
|
1429
1434
|
"key": marker._id,
|
|
1430
1435
|
"attrs": {
|
|
1431
|
-
"icon": markerProps.icon,
|
|
1432
1436
|
"zIndex": markerProps.zIndex,
|
|
1433
1437
|
"position": getPosition(marker),
|
|
1434
1438
|
"options": {
|
|
1435
1439
|
metaData: marker
|
|
1436
|
-
}
|
|
1440
|
+
},
|
|
1441
|
+
"icon": this.markerIcon || markerProps.icon
|
|
1437
1442
|
},
|
|
1438
1443
|
"on": {
|
|
1439
1444
|
"click": function click() {
|
package/dist/cjs/version.js
CHANGED
|
@@ -1231,7 +1231,8 @@ var GoogleMapMarker = {
|
|
|
1231
1231
|
},
|
|
1232
1232
|
data: function data() {
|
|
1233
1233
|
return {
|
|
1234
|
-
zIndex: 0
|
|
1234
|
+
zIndex: 0,
|
|
1235
|
+
markerIcon: null
|
|
1235
1236
|
};
|
|
1236
1237
|
},
|
|
1237
1238
|
methods: {
|
|
@@ -1363,6 +1364,10 @@ var GoogleMapMarker = {
|
|
|
1363
1364
|
}
|
|
1364
1365
|
|
|
1365
1366
|
if (renderItem) {
|
|
1367
|
+
marker.setIcon = function (icon) {
|
|
1368
|
+
_this2.markerIcon = icon;
|
|
1369
|
+
};
|
|
1370
|
+
|
|
1366
1371
|
var data = renderItem(marker);
|
|
1367
1372
|
|
|
1368
1373
|
if ('label' in data) {
|
|
@@ -1420,12 +1425,12 @@ var GoogleMapMarker = {
|
|
|
1420
1425
|
return h(Marker, {
|
|
1421
1426
|
"key": marker._id,
|
|
1422
1427
|
"attrs": {
|
|
1423
|
-
"icon": markerProps.icon,
|
|
1424
1428
|
"zIndex": markerProps.zIndex,
|
|
1425
1429
|
"position": getPosition(marker),
|
|
1426
1430
|
"options": {
|
|
1427
1431
|
metaData: marker
|
|
1428
|
-
}
|
|
1432
|
+
},
|
|
1433
|
+
"icon": this.markerIcon || markerProps.icon
|
|
1429
1434
|
},
|
|
1430
1435
|
"on": {
|
|
1431
1436
|
"click": function click() {
|
package/dist/es/version.js
CHANGED