title: Delete circle marker when a new one is made
body: <p>I want the last circleMarker to be deleted when a new one is made which happens when the user clicks.</p>
  
  <pre><code>        app.initialize();
  
          var count = 0;
  
          var location;
          map.on('click', function(e){
              if (count == 1){
                  map.removeLayer(location);
              }else{
                  count = 1;
              }
              var cords = String(e.latlng);
              cords = cords.match(/\(([^)]+)\)/)[1];
              lat = cords.substring(0, cords.search(","));
              lng = cords.substring(cords.search(",")+1);
              location = new L.circleMarker([lat, lng], {radius:100,});
              map.addLayer(location);
  
  
          });
  </code></pre>
  
  <p>That's the code I have so far but whenever I click I get ERR_FILE_NOT_FOUND.</p>
  
  <p>Thanks in advance, Ed.</p>