@heycar/heycars-map 2.26.0-setLimitBounds → 2.27.0-footPrint

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.
@@ -57,7 +57,11 @@ const Amap = defineSetup("Amap", function(props, { slots, emit, attrs }) {
57
57
  const map = new SafeAmap(elementRef.value, {
58
58
  ...defaultOptions,
59
59
  scrollWheel: defaultOptions.touchZoomCenter ? false : defaultOptions.scrollWheel,
60
- doubleClickZoom: defaultOptions.touchZoomCenter ? false : defaultOptions.doubleClickZoom
60
+ doubleClickZoom: defaultOptions.touchZoomCenter ? false : defaultOptions.doubleClickZoom,
61
+ WebGLParams: {
62
+ preserveDrawingBuffer: true
63
+ // 强制开启,截图必备
64
+ }
61
65
  });
62
66
  window.GlobalAmap = map;
63
67
  defaultOptions.defaultZooms && map.setZooms(defaultOptions.defaultZooms);
@@ -1,6 +1,6 @@
1
1
  const availableLogKeys = /* @__PURE__ */ new Set();
2
2
  const pkgName = "@heycar/heycars-map";
3
- const pkgVersion = "2.26.0-setLimitBounds";
3
+ const pkgVersion = "2.27.0-footPrint";
4
4
  const spaceLogSessionKey = "wiajlf;jwiatitruiq3jrlw";
5
5
  const enableSessionLogKey = (key) => {
6
6
  const sessionParam = new URLSearchParams(sessionStorage.getItem(spaceLogSessionKey) || void 0);
@@ -57,7 +57,11 @@ const Amap = defineSetup("Amap", function(props, { slots, emit, attrs }) {
57
57
  const map = new SafeAmap(elementRef.value, {
58
58
  ...defaultOptions,
59
59
  scrollWheel: defaultOptions.touchZoomCenter ? false : defaultOptions.scrollWheel,
60
- doubleClickZoom: defaultOptions.touchZoomCenter ? false : defaultOptions.doubleClickZoom
60
+ doubleClickZoom: defaultOptions.touchZoomCenter ? false : defaultOptions.doubleClickZoom,
61
+ WebGLParams: {
62
+ preserveDrawingBuffer: true
63
+ // 强制开启,截图必备
64
+ }
61
65
  });
62
66
  window.GlobalAmap = map;
63
67
  defaultOptions.defaultZooms && map.setZooms(defaultOptions.defaultZooms);
@@ -1,6 +1,6 @@
1
1
  const availableLogKeys = /* @__PURE__ */ new Set();
2
2
  const pkgName = "@heycar/heycars-map";
3
- const pkgVersion = "2.26.0-setLimitBounds";
3
+ const pkgVersion = "2.27.0-footPrint";
4
4
  const spaceLogSessionKey = "wiajlf;jwiatitruiq3jrlw";
5
5
  const enableSessionLogKey = (key) => {
6
6
  const sessionParam = new URLSearchParams(sessionStorage.getItem(spaceLogSessionKey) || void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heycar/heycars-map",
3
- "version": "2.26.0-setLimitBounds",
3
+ "version": "2.27.0-footPrint",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "checkVersion": "./bin/checkVersion.js",