finished dragging of routes,

moved corrected bugs in Leaflet to their own file
(drag after dragend, distance to path),
open osmbugs in new window
This commit is contained in:
DennisSchiefer
2012-04-01 19:13:54 +02:00
parent 5165e01a5c
commit 3b485f1426
9 changed files with 110 additions and 583 deletions
+1 -2
View File
@@ -108,8 +108,7 @@ openJOSM: function() {
//click: button "open OSM Bugs"
openOSMBugs: function() {
var position = OSRM.G.map.getCenterUI();
document.location.href = "http://osmbugs.org/?lat="+position.lat.toFixed(6)+"&lon="+position.lng.toFixed(6)+"&zoom="+OSRM.G.map.getZoom();
//window.open( "http://osmbugs.org/?lat="+position.lat.toFixed(6)+"&lon="+position.lng.toFixed(6)+"&zoom="+OSRM.G.map.getZoom() );
window.open( "http://osmbugs.org/?lat="+position.lat.toFixed(6)+"&lon="+position.lng.toFixed(6)+"&zoom="+OSRM.G.map.getZoom() );
}
};