# MapContext.getScale(Object object)
Start from base library version 1.4.0. Please remaining backward compatible.
Acquire the degree of scaling of the current map
# Parameter
# Object object
property | type | default value | optional | description | version |
---|---|---|---|---|---|
success | function | no | 接口调用成功的回调函数 | ||
fail | function | no | 接口调用失败的回调函数 | ||
complete | function | no | 接口调用结束的回调函数(调用成功、失败都会执行) |
# object.Success Callback
Parameter
Object res
property | type | description | version |
---|---|---|---|
scale | number | Scaling value |