AnsweredAssumed Answered

PictureMarkerSymbol blurry/pixelated

Question asked by jfjohnson on Jan 12, 2016
Latest reply on Jan 21, 2016 by marcelo.galante

I've been working on a map that places PictureMarkerSymbols with custom drawables, and I've noticed that the PictureMarkerSymbols are blurry when displayed on the map.

 

I've tried the following:

 

  1. drawables in drawable-mdpi, drawable-hdpi, drawable-xhdpi, etc. and the PictureMarkerSymbol(Context, Drawable) constructor. Images are not sharp at all (though appropriately sized)
  2. drawables in drawable-mdpi, drawable-hdpi, drawable-xhdpi, etc. and the PictureMarkerSymbol(Drawable) constructor. Images are somewhat sharp and way too big
  3. drawables in drawable-nodpi and PictureMarkerSymbol(Drawable) constructor. I just used the smallest Drawable I had, which was the mdpi one. Drawables were appropriately sized but still blurry
  4. drawable in the drawable (no qualifiers) folder and the PictureMarkerSymbol(Drawable) constructor. Huge and blurry

 

The my location (blue dot) icon is very crisp. How do you achieve this.

 

Note: after more testing, I've noticed the blurriness is more pronounced with a LayerDrawable. Could this be the source of my issue?

Outcomes