setZoom()设置后无效
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <style> #container {width:1000px; height: 600px; } </style> </head> <body> <div id="container"></div> <script type="text/javascript" src="http://webapi.amap.com/maps?v=1.3&key=e1afbba843b58a1e1666c3a90ad54702"></script> <script> (function(){ var map = new AMap.Map('container'); map.setCity('太原市'); map.setZoom('18'); })() </script> </body> </html>