GetJedi/app/src/main/java/edu/getjedi/frontend/mobile/state/ClientLoggedState.java
private void drawMarkerOnMap(double lat, double lng, String category, String name, String desc, String price, String username, String lastName, String email){
        if(map != null) {
            Marker marker = map.addMarker(new MarkerOptions().position(new LatLng(lat,lng)).
                    title(category + ": " + name).snippet(desc + "\nR$" + price + " (hora)\n" + username + " " + lastName + "\n" + email)
                    .icon(BitmapDescriptorFactory.defaultMarker(BitmapDescriptorFactory.HUE_RED)));
            markers.add(marker);
        }
    }
/**
     * Draws a marker on the map and builds it's description window.
     */
Draws a marker on the map and builds it's description window.
Draws a marker on the map and builds it ' s description window .
private void drawMarkerOnMap(double lat, double lng, String category, String name, String desc, String price, String username, String lastName, String email){
        if(map != null) {
            Marker marker = map.addMarker(new MarkerOptions().position(new LatLng(lat,lng)).
                    title(category + ": " + name).snippet(desc + "\nR$" + price + " (hora)\n" + username + " " + lastName + "\n" + email)
                    .icon(BitmapDescriptorFactory.defaultMarker(BitmapDescriptorFactory.HUE_RED)));
            markers.add(marker);
        }
    }
private void drawMarkerOnMap ( double lat , double lng , String category , String name , String desc , String price , String username , String lastName , String email ) { if ( map != null ) { Marker marker = map . addMarker ( new MarkerOptions ( ) . position ( new LatLng ( lat , lng ) ) . title ( category + ": " + name ) . snippet ( desc + "\nR$" + price + " (hora)\n" + username + " " + lastName + "\n" + email ) . icon ( BitmapDescriptorFactory . defaultMarker ( BitmapDescriptorFactory . HUE_RED ) ) ) ; markers . add ( marker ) ; } }
Draws a marker on the map and builds it's description window.
Draws a marker on the map and builds it ' s description window .