Skip to content

Commit 46e40a8

Browse files
committed
- (Bug Fix) Removed legacy properties from the route object which was causing JS errors
1 parent 8d76ce3 commit 46e40a8

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

resources/js/plugin.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,11 +1035,7 @@ var GoogleMaps = {
10351035
content: marker.content,
10361036
fitBounds: t.fitBounds,
10371037
icon: marker.icon,
1038-
options: _.extend({
1039-
icon: {
1040-
scaledSize: marker.scaledWidth && marker.scaledHeight ? [marker.scaledWidth, marker.scaledHeight] : false
1041-
}
1042-
}, t.markerOptions)
1038+
options: t.markerOptions
10431039
});
10441040

10451041
markers.push(marker);

0 commit comments

Comments
 (0)