0

I am trying to use different colored markers to denote different types of events but I can't find any information anywhere as to how to implement custom MapQuest markers in Android. I am writing in Java and using an Android MapFragment.

private void addMarker(MapboxMap mapboxMap) {
        MarkerOptions markerOptions = new MarkerOptions();
        markerOptions.position(new LatLng(37.7749, -122.4194));
        markerOptions.title("San Francisco");
        markerOptions.snippet("Welcome to San Fran!");
        mapboxMap.addMarker(markerOptions);
}

I just can't find anywhere a color option or how to do this.

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
sheperd13
  • 21
  • 4

1 Answers1

0

After a lot of searching I finally found the explanation here: https://www.mapbox.com/android-docs/map-sdk/overview/annotations/

sheperd13
  • 21
  • 4