Android Question Icon for Marker in GoogleMapsExtras

Discussion in 'Android Questions' started by Roger Daley, May 12, 2015.

Similar threads

B4A Question Google Map Marker icon Chopped
B4A Library GoogleMapsExtras
B4A Question GoogleMapsExtras ?
B4A Tutorial Google Maps
B4A Question Google Map Rotate Marker
  1. Roger Daley

    Roger Daley Well-Known Member Licensed User

    Hi All,

    I am having trouble using an icon [Non default] for a marker using GoogleMapExtras. The code I am on at the moment [below] doesn't work. I have tried several arrangements without sucess.
    From GoogleMapExtras library and links to Google it appears I need to use BitMapDescriptor that needs to use BitMapDescriptorFactory but I can't find anything that shows how this "chain of needs" fits together.

    Dim MarkerOptions1 As MarkerOptions
    Dim BTSMarker As Marker
            MarkerOptions1.Position2(BTSLat, BTSLng).Snippet(
            BTSMarker=GoogleMapsExtras1.AddMarker(gmap, MarkerOptions1)
    When I try to run this code I get the message containing instructions:
    I think if I knew what this meant I wouldn't have a problem.

    Any help much appreciated.

    Regards Roger
  2. warwound

    warwound Expert Licensed User

  3. Roger Daley

    Roger Daley Well-Known Member Licensed User

    Thanks Warwound,

    An abosolute perfect example, sorted my problem in less than a minute.
    It's a case of "The Truth is Out There", but very hard to find under the mountain of info on the forum.
    It would be good if this was in the Wiki. [If it is I couldn't find it there either.]

    Once again, many thanks.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice