Closed cherrynechou closed 3 months ago
@cherrynechou 看不到你的示例,不知道你的类型错误是啥,你可以提供一个示例
https://github.com/uiwjs/react-amap/blob/85ebfebf3f1aa4cd32556a13cc1493e43dddfa67/packages/map/src/index.tsx#L14-L19
https://github.com/uiwjs/react-amap/blob/85ebfebf3f1aa4cd32556a13cc1493e43dddfa67/packages/types/src/core.d.ts#L504-L513
还有一个 zoom 是一个数字,你传递的是一个字符串,并且还不存在,你是不是用错了包?
zoom
嗯。明白了