824825826827828829830831832833834
* removes the line from the map while the user * gives it a name, a tag, and clicks save. */ //map.removeOverlay(polyline); eventBus.fireEvent(new EndEditPolyLineEvent(p)); } }); } else { /**
785786787788789790791
LatLng p = LatLng.newInstance(v.getLatitude(), v.getLongitude()); points[i] = p; } TagPolyline p = new TagPolyline(points); p.setRoadDetailsId(currentPolyline.getRoadDetailsId()); eventBus.fireEvent(new EndEditPolyLineEvent(p)); }