Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
1.onRegionChange在设置中心点以后,scale将不再变化。 2.根据getScale获取到的scale来用state使得scale状态改变,从而改变marker的宽和高以后,map组件渲染一次,当再次改变scale状态时时,组件不更新,scalse也不再更新。