@doubao-apps/taro-runtime 0.0.34 → 0.0.35
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.
|
@@ -49,7 +49,6 @@ function DoubaoAppsMap(props) {
|
|
|
49
49
|
unsupportedValues: {
|
|
50
50
|
animation,
|
|
51
51
|
controls,
|
|
52
|
-
showLocation,
|
|
53
52
|
subkey,
|
|
54
53
|
layerStyle,
|
|
55
54
|
skew,
|
|
@@ -137,7 +136,7 @@ function DoubaoAppsMap(props) {
|
|
|
137
136
|
// @ts-expect-error
|
|
138
137
|
enableNativeInteraction={rest.enableNativeInteraction} mapStyle={passedThroughMapStyle ?? resolvedMapStyle}
|
|
139
138
|
// @ts-ignore
|
|
140
|
-
center={longitude !== undefined && latitude !== undefined ? resolvedCenter : undefined} scale={resolvedScale} minScale={resolvedMinScale} maxScale={resolvedMaxScale} rotate={resolvedRotate} showScale={resolvedShowScale} enableTilt={resolvedEnableTilt} enableScale={resolvedEnableScale} enableDrag={resolvedEnableDrag} enableRotate={resolvedEnableRotate} polyline={resolvePolylines(polyline)} circles={resolveNativeCircles(circles)} polygons={resolveNativePolygons(resolvedPolygons)} onClick={(detail) => {
|
|
139
|
+
center={longitude !== undefined && latitude !== undefined ? resolvedCenter : undefined} scale={resolvedScale} minScale={resolvedMinScale} maxScale={resolvedMaxScale} rotate={resolvedRotate} showScale={resolvedShowScale} showLocation={showLocation} enableTilt={resolvedEnableTilt} enableScale={resolvedEnableScale} enableDrag={resolvedEnableDrag} enableRotate={resolvedEnableRotate} polyline={resolvePolylines(polyline)} circles={resolveNativeCircles(circles)} polygons={resolveNativePolygons(resolvedPolygons)} onClick={(detail) => {
|
|
141
140
|
const event = toCommonEvent({ point: detail.point }, 'tap', mapId);
|
|
142
141
|
onTap?.(event);
|
|
143
142
|
onBaseClick?.(event);
|
|
@@ -47,7 +47,7 @@ type CollectUnsupportedOptions = {
|
|
|
47
47
|
circles: MapProps['circles'];
|
|
48
48
|
resolvedPolygons: MapProps.polygon[];
|
|
49
49
|
};
|
|
50
|
-
declare const MAP_UNSUPPORTED_PROPS: readonly ["animation", "controls", "
|
|
50
|
+
declare const MAP_UNSUPPORTED_PROPS: readonly ["animation", "controls", "subkey", "layerStyle", "skew", "showCompass", "enableSatellite", "enableTraffic", "groundOverlays", "tileOverlay", "enablePoi", "enableBuilding", "panels", "theme", "optimize", "enableAutoMaxOverlooking", "enable3D", "onTouchStart", "onTouchMove", "onTouchCancel", "onTouchEnd", "onLongPress", "onLongClick", "onTransitionEnd", "onAnimationStart", "onAnimationIteration", "onAnimationEnd", "onControlTap", "onPoiTap", "onAbilitySuccess", "onAbilityFailed", "onAuthSuccess", "onInterpolatePoint", "onError", "onAnchorPointTap", "onPanelTap"];
|
|
51
51
|
export type RuntimeMarker = MapProps.marker & {
|
|
52
52
|
children?: unknown;
|
|
53
53
|
};
|
package/package.json
CHANGED