anchor.diff:          function showInfo(point, template, info) {
               if ($.isPlainObject(info)) {
                   $.each(info, function (key, val) {
  -                    template = template.replace(new RegExp('{' + key+'}', 'g'), val);
  +                    template = template.replace(new RegExp('{' + key + '}', 'g'), val);
                   });
               }
               var infoWindow = new BMap.InfoWindow(template);
  
positive.code: 
          function removeAllOverlays() {
              var allOverlay = map.getOverlays();
              $.each(allOverlay,function (i,item) {
                  map.removeOverlay(item);
              });
          }
          if(selectedProject&&selectedProject.id){
              showMarkers([selectedProject],function (marker) {
                  var template = '<p><a href="javascript:top.openModule(\'${pageContext.request.contextPath}/moduleProjectController/index.action?project_id={id}\');">工程名称:{name}</a></p><p>工程编码:{code}</p><p>地址:{city}{address}</p>';
                  var info = marker.info;
                  map.centerAndZoom(marker.M, 11);
                  showInfo(marker.M, template, {id:info.id||'',name:info.name||'',code:info.code||'',city:info.city?(info.city.text||''):'',address:info.address||''});
              });
          }
      });
  
negative.code: //        $.Map.showMarkers(markers);
          function initializeMap() {
              var $div = $('#div_map');
              $div.height($(document).height() * 0.92);
              $div.width($(document).width() * 0.85);
              var map = new BMap.Map("div_map");
  //            var point = new BMap.Point(113.276, 23.117);
              map.centerAndZoom("西安", 4);
  