public static Drawable getWaypointTypeMarker(final Resources res, final WaypointType waypoint) {
        final int hashcode = new HashCodeBuilder().append(waypoint.markerId).toHashCode();

        synchronized (overlaysCache) {
            CacheMarker marker = overlaysCache.get(hashcode);
            if (marker == null) {
                marker = new CacheMarker(hashcode, createWaypointTypeMarker(res, waypoint));
                overlaysCache.put(hashcode, marker);
            }
            return marker.getDrawable();
        }
    }
Create a waypoint marker without background - basically the zoomed in waypoint icon

@param res      Android Resources
@param waypoint Waypoint to get the icon for
@return Layered Drawable
main/src/main/java/cgeo/geocaching/utils/MapMarkerUtils.java