public static Polyline addPolylineToMap ( MapView map , Polyline polyline ) { if ( polyline . getInfoWindow ( ) == null ) polyline . setInfoWindow ( new BasicInfoWindow ( R . layout . bonuspack_bubble , map ) ) ; map . getOverlayManager ( ) . add ( polyline ) ; return polyline ; }
Add a Polyline to the map