<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Picture-Markers with fixed size in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/picture-markers-with-fixed-size/m-p/220397#M1443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think PictureMarkerSymbol has that capability. It's defined in pixel, not a fixed occupation on the map. We should still consider to use PictureFillSymbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you already known, &lt;SPAN style="color: #333333; font-family: arial, sans-serif; font-size: 13px;"&gt;If the image is smaller than the fill area, it will be tiled. I would have the following two suggestions for your case:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: arial, sans-serif; font-size: 13px;"&gt;1.Call &lt;SPAN class="sympad" style="margin-right: 2px; color: #333333; font-family: arial, sans-serif; font-size: 11.7px; background-color: #f6f6f6;"&gt;&lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/core/symbol/PictureFillSymbol.html#setSize(int, int)" style="color: #006699;"&gt;setSize&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: arial, sans-serif; font-size: 11.7px; background-color: #f6f6f6;"&gt;(int width, int height) to set the size for the image so that it will fill the area rather than be smaller than it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6; color: #333333; font-size: 11.7px; font-family: arial, sans-serif;"&gt;2. Call &lt;SPAN class="sympad" style="margin-right: 2px; color: #333333; font-family: arial, sans-serif; font-size: 11.7px; background-color: #f6f6f6;"&gt;&lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/core/symbol/PictureFillSymbol.html#setOffsetX(float)" style="color: #006699;"&gt;setOffsetX&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: arial, sans-serif; font-size: 11.7px; background-color: #f6f6f6;"&gt;(float offsetX) and &lt;SPAN class="sympad" style="margin-right: 2px; color: #333333; font-family: arial, sans-serif; font-size: 11.7px;"&gt;&lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/core/symbol/PictureFillSymbol.html#setOffsetY(float)" style="color: #006699;"&gt;setOffsetY&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: arial, sans-serif; font-size: 11.7px;"&gt;(float offsetY) on the image. In this way, even the image is smaller than the area, it will not be tiled. I'm not sure if this meets your requirement because it won't occupy the whole area(I assume you may want the image to stretch when it's not big enough), but at least it will stay at the center.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Oct 2015 21:09:05 GMT</pubDate>
    <dc:creator>MengyiGuo</dc:creator>
    <dc:date>2015-10-23T21:09:05Z</dc:date>
    <item>
      <title>Picture-Markers with fixed size</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/picture-markers-with-fixed-size/m-p/220394#M1440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Can anyone tell me how to place a PictureMarkerSymbol with fixed size (p.e. with a fixed width of 50meters)? &lt;/P&gt;&lt;P&gt;Is there an alternative way to place pictures with fixed dimensions?&lt;/P&gt;&lt;P&gt;I've tried it also with PictureFillSymbol, but this will repeat the attached picture in the polygon - as expected... (-&amp;gt;api description)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 11:18:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/picture-markers-with-fixed-size/m-p/220394#M1440</guid>
      <dc:creator>StefanPala</dc:creator>
      <dc:date>2015-10-21T11:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Picture-Markers with fixed size</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/picture-markers-with-fixed-size/m-p/220395#M1441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you mean you want to place the PictureMarkerSymbol with a fixed pixel size or a fixed occupation on the map? I'm a little bit confused about 50 meters... does it means you want the PictureMarkerSymbol to occupy a 50 meters square/width no matter the zoom level?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 18:35:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/picture-markers-with-fixed-size/m-p/220395#M1441</guid>
      <dc:creator>MengyiGuo</dc:creator>
      <dc:date>2015-10-21T18:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Picture-Markers with fixed size</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/picture-markers-with-fixed-size/m-p/220396#M1442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mengyi&lt;/P&gt;&lt;P&gt;Thank you for your fast reply.&lt;/P&gt;&lt;P&gt;Yes, I mean a PictureMarkerSymbol with a fixed occupation on the map. (if I zoom out, this marker should "shrink")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 06:57:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/picture-markers-with-fixed-size/m-p/220396#M1442</guid>
      <dc:creator>StefanPala</dc:creator>
      <dc:date>2015-10-22T06:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Picture-Markers with fixed size</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/picture-markers-with-fixed-size/m-p/220397#M1443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think PictureMarkerSymbol has that capability. It's defined in pixel, not a fixed occupation on the map. We should still consider to use PictureFillSymbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you already known, &lt;SPAN style="color: #333333; font-family: arial, sans-serif; font-size: 13px;"&gt;If the image is smaller than the fill area, it will be tiled. I would have the following two suggestions for your case:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: arial, sans-serif; font-size: 13px;"&gt;1.Call &lt;SPAN class="sympad" style="margin-right: 2px; color: #333333; font-family: arial, sans-serif; font-size: 11.7px; background-color: #f6f6f6;"&gt;&lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/core/symbol/PictureFillSymbol.html#setSize(int, int)" style="color: #006699;"&gt;setSize&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: arial, sans-serif; font-size: 11.7px; background-color: #f6f6f6;"&gt;(int width, int height) to set the size for the image so that it will fill the area rather than be smaller than it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6; color: #333333; font-size: 11.7px; font-family: arial, sans-serif;"&gt;2. Call &lt;SPAN class="sympad" style="margin-right: 2px; color: #333333; font-family: arial, sans-serif; font-size: 11.7px; background-color: #f6f6f6;"&gt;&lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/core/symbol/PictureFillSymbol.html#setOffsetX(float)" style="color: #006699;"&gt;setOffsetX&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: arial, sans-serif; font-size: 11.7px; background-color: #f6f6f6;"&gt;(float offsetX) and &lt;SPAN class="sympad" style="margin-right: 2px; color: #333333; font-family: arial, sans-serif; font-size: 11.7px;"&gt;&lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/core/symbol/PictureFillSymbol.html#setOffsetY(float)" style="color: #006699;"&gt;setOffsetY&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: arial, sans-serif; font-size: 11.7px;"&gt;(float offsetY) on the image. In this way, even the image is smaller than the area, it will not be tiled. I'm not sure if this meets your requirement because it won't occupy the whole area(I assume you may want the image to stretch when it's not big enough), but at least it will stay at the center.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 21:09:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/picture-markers-with-fixed-size/m-p/220397#M1443</guid>
      <dc:creator>MengyiGuo</dc:creator>
      <dc:date>2015-10-23T21:09:05Z</dc:date>
    </item>
  </channel>
</rss>

