@heycar/heycars-map 2.6.0 → 2.6.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.
package/dist/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./v2"
1
+ export * from "./v3"
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export * from "./v2"
1
+ export * from "./v3"
@@ -25,6 +25,7 @@ const Gmap = defineSetup("Gmap", function(props, { slots, emit, attrs }) {
25
25
  gestureHandling,
26
26
  center,
27
27
  zoom,
28
+ renderingType,
28
29
  ...options2
29
30
  } = props;
30
31
  return {
@@ -34,7 +35,12 @@ const Gmap = defineSetup("Gmap", function(props, { slots, emit, attrs }) {
34
35
  isFractionalZoomEnabled: true
35
36
  };
36
37
  });
37
- const defaultOptions = { ...options.value, center: props.center, zoom: props.zoom };
38
+ const defaultOptions = {
39
+ ...options.value,
40
+ renderingType: props.renderingType,
41
+ center: props.center,
42
+ zoom: props.zoom
43
+ };
38
44
  const enableRef = computed(() => !!props.touchZoomCenter);
39
45
  const elementRef = shallowRef();
40
46
  const mapRef = shallowRef();
@@ -1,6 +1,6 @@
1
1
  const availableLogKeys = /* @__PURE__ */ new Set();
2
2
  const pkgName = "@heycar/heycars-map";
3
- const pkgVersion = "2.6.0";
3
+ const pkgVersion = "2.6.1";
4
4
  const isEnableLog = (name) => {
5
5
  const searchParam = new URLSearchParams(location.search);
6
6
  return searchParam.has(`log-${name}`);
@@ -25,6 +25,7 @@ const Gmap = defineSetup("Gmap", function(props, { slots, emit, attrs }) {
25
25
  gestureHandling,
26
26
  center,
27
27
  zoom,
28
+ renderingType,
28
29
  ...options2
29
30
  } = props;
30
31
  return {
@@ -34,7 +35,12 @@ const Gmap = defineSetup("Gmap", function(props, { slots, emit, attrs }) {
34
35
  isFractionalZoomEnabled: true
35
36
  };
36
37
  });
37
- const defaultOptions = { ...options.value, center: props.center, zoom: props.zoom };
38
+ const defaultOptions = {
39
+ ...options.value,
40
+ renderingType: props.renderingType,
41
+ center: props.center,
42
+ zoom: props.zoom
43
+ };
38
44
  const enableRef = computed(() => !!props.touchZoomCenter);
39
45
  const elementRef = shallowRef();
40
46
  const mapRef = shallowRef();
@@ -1,6 +1,6 @@
1
1
  const availableLogKeys = /* @__PURE__ */ new Set();
2
2
  const pkgName = "@heycar/heycars-map";
3
- const pkgVersion = "2.6.0";
3
+ const pkgVersion = "2.6.1";
4
4
  const isEnableLog = (name) => {
5
5
  const searchParam = new URLSearchParams(location.search);
6
6
  return searchParam.has(`log-${name}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heycar/heycars-map",
3
- "version": "2.6.0",
3
+ "version": "2.6.1",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "checkVersion": "./bin/checkVersion.js",