<?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: Flex 4 map.addChild(element) with constraints in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-4-map-addchild-element-with-constraints/m-p/6453#M152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try adding the objects to map.staticLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;map.staticLayer.addElement(component)&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I show an example here adding lat/long coordinates&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://odoe.net/blog/?p=67"&gt;http://odoe.net/blog/?p=67&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The docs for &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/Map.html#staticLayer"&gt;Map&lt;/A&gt;&lt;SPAN&gt; state, "StaticLayer is useful for adding legends, logos and other items that should not be moved when the map is panned or zoomed."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That should work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jul 2010 12:42:08 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2010-07-15T12:42:08Z</dc:date>
    <item>
      <title>Flex 4 map.addChild(element) with constraints</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-4-map-addchild-element-with-constraints/m-p/6452#M151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently trying to add a couple of things (north arrow and copyright information) as children of a Map object.&amp;nbsp; The north arrow and copyright info components both have constraint values set.&amp;nbsp; I've tried using&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;setConstraintValue("bottom", 40) and bottom = 40 for these but to no effect.&amp;nbsp; The child items just get added at 0,0 it seems.&amp;nbsp; I can specifically set the x and y values of these and it will move them but that's not really ideal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone suggest where I may be going wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Luke&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 09:27:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-4-map-addchild-element-with-constraints/m-p/6452#M151</guid>
      <dc:creator>LukeEvans</dc:creator>
      <dc:date>2010-07-15T09:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Flex 4 map.addChild(element) with constraints</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-4-map-addchild-element-with-constraints/m-p/6453#M152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try adding the objects to map.staticLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;map.staticLayer.addElement(component)&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I show an example here adding lat/long coordinates&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://odoe.net/blog/?p=67"&gt;http://odoe.net/blog/?p=67&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The docs for &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/Map.html#staticLayer"&gt;Map&lt;/A&gt;&lt;SPAN&gt; state, "StaticLayer is useful for adding legends, logos and other items that should not be moved when the map is panned or zoomed."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That should work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 12:42:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-4-map-addchild-element-with-constraints/m-p/6453#M152</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2010-07-15T12:42:08Z</dc:date>
    </item>
  </channel>
</rss>

