public void onEditRoadSegment(EditRoadSegmentEvent event) {
setEditingEnabled(event.getId());
}
});
eventBus.addHandler(GetRoadsEvent.TYPE,
new GetRoadsEventHandler() {
public void onGetRoads(GetRoadsEvent event) {
//Window.alert("Handling GetRoadsEvent clearing overlays for map hashcode:" + map.hashCode());
//map.clearOverlays();
//Window.alert("Handling GetRoadsEvent cleared");
polylines = new ArrayList<TagPolyline>();