private MarkerItem getUserLocationMarker() { MarkerItem markerItem = new MarkerItem("ME", "Current Location", getUserLocationPoint()); MarkerSymbol symbol = AndroidGraphics.makeMarker( getResources().getDrawable(R.drawable.ic_locate_me), MarkerItem.HotspotPlace.CENTER); markerItem.setMarker(symbol); return markerItem; }
public MarkerSymbol getDefaultMarkerSymbol() { return AndroidGraphics.makeMarker( getResources().getDrawable(R.drawable.ic_pin), MarkerItem.HotspotPlace.BOTTOM_CENTER); }