1. Download our Official Android App: Forums for Android!

Apps Map Icon Marker Size

Discussion in 'Android Development' started by pinkfloydim, Jan 13, 2013.

  1. pinkfloydim

    pinkfloydim Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    9
    Joined:
    Dec 28, 2012

    Dec 28, 2012
    9
    0
    5
    [HIGH]/*
    * Add the Town Markers
    */
    for (int i = 0;i < the_points.size();i++) {
    GpsPoint the_pt = the_points.get(i);
    Float lat_v = the_pt.lat;
    Float lng_v = the_pt.lng;
    String marker_name = the_pt.name;
    String marker_desc = the_pt.desc;
    String marker_icon = the_pt.icon;
    mMap.addMarker(new MarkerOptions().position(new LatLng(lat_v, lng_v))
    .title(marker_name)
    .snippet(marker_desc)
    .icon(BitmapDescriptorFactory.fromAsset("scroll_images/"+marker_icon)));
    }[/HIGH]So I have my map loading the icons, which is cool.
    But they are coming through quite small.
    ANy way I can set the rendered size?
     

    Advertisement

Share This Page

Loading...