} else { var marker = L.circleMarker(position, {color: '#000', weight: 1}); marker.setRadius(4); marker.addTo(that.map); currentWpMarker = L.circleMarker(position, {color: 'green', weight: 0, fillOpacity: 0.4}); currentWpMarker.setRadius(10); currentWpMarker.addTo(this.map); currentPosMarker = L.circleMarker(position); currentPosMarker.setRadius(10); currentPosMarker.addTo(this.map);