|  |  |  | 
|---|
|  |  |  | .city-box { | 
|---|
|  |  |  | width: 80px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .set-city-box { | 
|---|
|  |  |  | display: inline-block; | 
|---|
|  |  |  | position: relative; | 
|---|
|  |  |  | bottom: -4 px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .anchorBL { | 
|---|
|  |  |  | display: none; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | <table> | 
|---|
|  |  |  | <tr> | 
|---|
|  |  |  | <td colspan="5"  class="click-handle-title"> | 
|---|
|  |  |  | 当前城市:<input class="city-box" type="input" /> <a id="setCityBtn" style=" text-decoration:underline; color:#00F;cursor:pointer;">设置</a> | 
|---|
|  |  |  | 当前城市: | 
|---|
|  |  |  | <span id="city-name" style="width: 60px;height:20px;border-bottom:solid #1b1b1b 1px;display:inline-block"> | 
|---|
|  |  |  | 杭州 | 
|---|
|  |  |  | </span> | 
|---|
|  |  |  | <div class="set-city-box"><input class="city-box" type="input" value="杭州"/> <a id="setCityBtn" style=" text-decoration:underline; color:#00F;cursor:pointer;">设置</a></div> | 
|---|
|  |  |  | </td> | 
|---|
|  |  |  | </tr> | 
|---|
|  |  |  | <tr> | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return ; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | //设置城市名称 | 
|---|
|  |  |  | $('#city-name').html(regionName); | 
|---|
|  |  |  | map.setCurrentCity(regionName); // 设置地图显示的城市 此项是必须设置的 | 
|---|
|  |  |  | // var pointArray = []; | 
|---|
|  |  |  | var polygonArray = []; | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | // map.setViewport(pointArray);    //调整视野 | 
|---|
|  |  |  | //addlabel(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //设置边界 | 
|---|
|  |  |  | markerManager.reloadCustomOverlays(); | 
|---|
|  |  |  | thatData._regionName = regionName; | 
|---|