package com.tofly.ghrq_route.common.util.ArcgisUtils;

import android.graphics.drawable.BitmapDrawable;

import com.esri.arcgisruntime.symbology.MarkerSymbol;
import com.esri.arcgisruntime.symbology.PictureMarkerSymbol;

public class SizeMarkerSymbol {

    public static MarkerSymbol sizeSymbol(BitmapDrawable drawable, int width, int height) {
        PictureMarkerSymbol markerSymbol = new PictureMarkerSymbol(drawable);
        markerSymbol.setWidth(width);
        markerSymbol.setHeight(height);
        return markerSymbol;
    }
}
