Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Android map marker icons

  • 22-03-2017 09:08PM
    #1
    Registered Users, Registered Users 2 Posts: 111 ✭✭


    Hi,

    I'm looking to add numbered map markers to my android app's google map.

    I would like to be able to set something like a standard map marker but with a number embedded in it , i.e.. 1,2,3,4,5,6,7,8,9 or 9+.
    That would mean having ten ready made marker icons and setting the appropriate one per marker.
    Could somebody recommend some icons or is there a better dynamic solution?

    I saw some map markers on mapsmarker.com but dont really like them.

    Any advice welcomed, thanks.


Comments

  • Registered Users, Registered Users 2, Paid Member Posts: 8,008 ✭✭✭The_B_Man
    Something about sandwiches


    See if you can find anything on Android Asset Studio:
    https://romannurik.github.io/AndroidAssetStudio/


  • Registered Users, Registered Users 2 Posts: 18,272 ✭✭✭✭Atomic Pineapple


    Boxman wrote: »
    That would mean having ten ready made marker icons and setting the appropriate one per marker.

    You would probably be better off making a custom view with the generic marker image and then on top of it dynamically drawing the numbers.


  • Registered Users, Registered Users 2 Posts: 111 ✭✭Boxman


    The_B_Man wrote: »
    See if you can find anything on Android Asset Studio:
    https://romannurik.github.io/AndroidAssetStudio/

    Didn't find what I was looking for but some nice tools there I'll use elsewhere, thanks for that.
    You would probably be better off making a custom view with the generic marker image and then on top of it dynamically drawing the numbers.

    Thanks very much. I'll look into that.


  • Registered Users, Registered Users 2 Posts: 18,272 ✭✭✭✭Atomic Pineapple


    Boxman wrote: »
    Thanks very much. I'll look into that.

    It could be as simple as a TextView on top of an ImageView with minimal logic needed to show the number. Give me a shout if you need more information.


Advertisement