1. Are you ready for the Galaxy S20? Here is everything we know so far!

Map Icon Marker Size

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

  1. pinkfloydim

    pinkfloydim Lurker
    Thread Starter

    [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?
     



    1. Download the Forums for Android™ app!


      Download

       
Loading...

Share This Page

Loading...