anchor.diff:          </div>
   
           <script>
  -            var draw =null;
  -            var map = null;
  +                var draw =null;
  +                var map = null;
  +                var vector = null;
  +                var wkt = "${actionBean.deelgebied.geom}";
                   function loadMap (){
                       var brt = new OpenLayers.Layer.TMS('BRT','http://geodata.nationaalgeoregister.nl/tiles/service/tms/1.0.0',{
                           layername : 'brtachtergrondkaart',
  
positive.code:                         tileOrigin : new OpenLayers.LonLat(-285401.920000,22598.080000)
                      });
  
                      var vector = new OpenLayers.Layer.Vector("deelgebied");
                      map = new OpenLayers.Map({
                          resolutions : [860.16,430.08,215.04,107.52,53.76,26.88,13.44,6.72,3.36,1.68,0.84,0.42,0.21,0.105,0.0525],
                          units : 'm',
  
negative.code:                     if(!map.getCenter()){
                          map.zoomToMaxExtent();
                      }
                      if(wkt){
                          var feat = new OpenLayers.Geometry.fromWKT(wkt);
                          draw.drawFeature(feat);
                      }
                  }
  
                  function drawArea (){
                      resetArea();
                      draw.activate();
                  }
  
  