<?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 labelinfo - Repeat Label doesn't work in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelinfo-repeat-label-doesn-t-work/m-p/494195#M45918</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;BR /&gt;recently I publish one service in 10.7 was a label, I would like in my app in JS API, change this attribute, like as "repeatLabel", "repeatLabelDistance" set this values in 'drawinfo' in my request in the service, but this doesn't work. I try to use it in "rest/export" , but the same situation above.&lt;BR /&gt;look my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gisserver.gisgestao.com.br/server/rest/services/SIG/teste_label/MapServer/168?f=pjson"&gt;service with a label&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[{"id":"168","source":{ "type":"mapLayer", "mapLayerId":"168" },&lt;BR /&gt;"definitionExpression":"1=1",&lt;BR /&gt;"drawingInfo":{&lt;BR /&gt;"renderer":{&lt;BR /&gt;"type":"simple",&lt;BR /&gt;"symbol":{&lt;BR /&gt;"type":"esriSLS",&lt;BR /&gt;"color":[255,7,7,255],&lt;BR /&gt;"width":0.7,&lt;BR /&gt;"style":"esriSLSSolid"&lt;BR /&gt;}},&lt;BR /&gt;"transparency":0,&lt;BR /&gt;"labelingInfo": [{"labelExpression":"[nome]",&lt;BR /&gt; "labelExpressionInfo": { "expression":"$feature[\"nome\"]" },&lt;BR /&gt; "labelPlacement": "esriServerLinePlacementAboveAlong",&lt;/P&gt;&lt;P&gt;"repeatLabel": true,&lt;BR /&gt;"repeatLabelDistance":5,&lt;BR /&gt; "useCodedValues": true,&lt;BR /&gt; "symbol": {&lt;BR /&gt; "type": "esriTS",&lt;BR /&gt; "color": [52, 52,52,255],&lt;BR /&gt; "verticalAlignment": "bottom",&lt;BR /&gt; "horizontalAlignment": "left",&lt;BR /&gt; "rightToLeft": false,&lt;BR /&gt; "font": {&lt;BR /&gt; "family": "Tahoma",&lt;BR /&gt; "size": 7,&lt;BR /&gt; "style": "normal",&lt;BR /&gt; "weight": "normal",&lt;BR /&gt; "decoration": "none"&lt;BR /&gt; }}}]&lt;BR /&gt;}}]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other services, in 10.6 version these properties work, see this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://maps.cusd.com/arcgis/rest/services/ElectionResults_June2012_MeasureA/MapServer/5?f=pjson"&gt;http://maps.cusd.com/arcgis/rest/services/ElectionResults_June2012_MeasureA/MapServer/5?f=pjson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thing I would like to change the "Line Placement" like "river placement" and "street placement", but I have not found how we can use the "maplex" in JS API attributes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Oct 2019 13:05:21 GMT</pubDate>
    <dc:creator>kenoteixeira</dc:creator>
    <dc:date>2019-10-16T13:05:21Z</dc:date>
    <item>
      <title>labelinfo - Repeat Label doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelinfo-repeat-label-doesn-t-work/m-p/494195#M45918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;BR /&gt;recently I publish one service in 10.7 was a label, I would like in my app in JS API, change this attribute, like as "repeatLabel", "repeatLabelDistance" set this values in 'drawinfo' in my request in the service, but this doesn't work. I try to use it in "rest/export" , but the same situation above.&lt;BR /&gt;look my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gisserver.gisgestao.com.br/server/rest/services/SIG/teste_label/MapServer/168?f=pjson"&gt;service with a label&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[{"id":"168","source":{ "type":"mapLayer", "mapLayerId":"168" },&lt;BR /&gt;"definitionExpression":"1=1",&lt;BR /&gt;"drawingInfo":{&lt;BR /&gt;"renderer":{&lt;BR /&gt;"type":"simple",&lt;BR /&gt;"symbol":{&lt;BR /&gt;"type":"esriSLS",&lt;BR /&gt;"color":[255,7,7,255],&lt;BR /&gt;"width":0.7,&lt;BR /&gt;"style":"esriSLSSolid"&lt;BR /&gt;}},&lt;BR /&gt;"transparency":0,&lt;BR /&gt;"labelingInfo": [{"labelExpression":"[nome]",&lt;BR /&gt; "labelExpressionInfo": { "expression":"$feature[\"nome\"]" },&lt;BR /&gt; "labelPlacement": "esriServerLinePlacementAboveAlong",&lt;/P&gt;&lt;P&gt;"repeatLabel": true,&lt;BR /&gt;"repeatLabelDistance":5,&lt;BR /&gt; "useCodedValues": true,&lt;BR /&gt; "symbol": {&lt;BR /&gt; "type": "esriTS",&lt;BR /&gt; "color": [52, 52,52,255],&lt;BR /&gt; "verticalAlignment": "bottom",&lt;BR /&gt; "horizontalAlignment": "left",&lt;BR /&gt; "rightToLeft": false,&lt;BR /&gt; "font": {&lt;BR /&gt; "family": "Tahoma",&lt;BR /&gt; "size": 7,&lt;BR /&gt; "style": "normal",&lt;BR /&gt; "weight": "normal",&lt;BR /&gt; "decoration": "none"&lt;BR /&gt; }}}]&lt;BR /&gt;}}]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other services, in 10.6 version these properties work, see this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://maps.cusd.com/arcgis/rest/services/ElectionResults_June2012_MeasureA/MapServer/5?f=pjson"&gt;http://maps.cusd.com/arcgis/rest/services/ElectionResults_June2012_MeasureA/MapServer/5?f=pjson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thing I would like to change the "Line Placement" like "river placement" and "street placement", but I have not found how we can use the "maplex" in JS API attributes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 13:05:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelinfo-repeat-label-doesn-t-work/m-p/494195#M45918</guid>
      <dc:creator>kenoteixeira</dc:creator>
      <dc:date>2019-10-16T13:05:21Z</dc:date>
    </item>
  </channel>
</rss>

