<?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: When I apply bikelayer for bike trails  it always draw near specific area despite the fact I changed lat and long of map in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-i-apply-bikelayer-for-bike-trails-it-always/m-p/486389#M45263</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jul 2020 14:18:29 GMT</pubDate>
    <dc:creator>JavedIqbal1</dc:creator>
    <dc:date>2020-07-14T14:18:29Z</dc:date>
    <item>
      <title>When I apply bikelayer for bike trails  it always draw near specific area despite the fact I changed lat and long of map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-i-apply-bikelayer-for-bike-trails-it-always/m-p/486387#M45261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I apply &lt;STRONG&gt;bikelayer&lt;/STRONG&gt; for bike trails it always draw near specific area despite the fact I changed lat and long of map:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;require([&lt;BR /&gt; "esri/Map",&lt;BR /&gt; "esri/views/MapView",&lt;BR /&gt; "esri/layers/FeatureLayer"&lt;BR /&gt; ],&lt;BR /&gt; function(&lt;BR /&gt; Map, &lt;BR /&gt; MapView,&lt;BR /&gt; FeatureLayer&lt;BR /&gt; ) {&lt;/P&gt;&lt;P&gt;var map = new Map({&lt;BR /&gt; basemap: "topo-vector"&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;var view = new MapView({&lt;BR /&gt; container: "viewDiv",&lt;BR /&gt; map: map,&lt;BR /&gt; center: [-82.438496,28.010780],&lt;BR /&gt; zoom: 13&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var bikeTrailsRenderer = {&lt;BR /&gt; type: "simple",&lt;BR /&gt; symbol: {&lt;BR /&gt; type: "simple-line",&lt;BR /&gt; style: "short-dot",&lt;BR /&gt; color: "#FF0000",&lt;BR /&gt; width: "5px"&lt;BR /&gt; }&lt;BR /&gt; };&lt;BR /&gt; &lt;BR /&gt; var bikeTrails = new FeatureLayer({&lt;BR /&gt; url:&lt;BR /&gt; "https://services3.arcgis.com/GVgbJbqm8hXASVYi/arcgis/rest/services/Trails/FeatureServer/0",&lt;BR /&gt; renderer: bikeTrailsRenderer,&lt;BR /&gt; definitionExpression: "USE_BIKE = 'YES'"&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;map.add(bikeTrails, 1);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2020 13:35:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-i-apply-bikelayer-for-bike-trails-it-always/m-p/486387#M45261</guid>
      <dc:creator>JavedIqbal1</dc:creator>
      <dc:date>2020-07-14T13:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: When I apply bikelayer for bike trails  it always draw near specific area despite the fact I changed lat and long of map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-i-apply-bikelayer-for-bike-trails-it-always/m-p/486388#M45262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/414117"&gt;Javed&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you are perfectly right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the coordinates you are giving [-82.438496,28.010780], I can see that you are centering your map on Tampa, Florida.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;A href="https://services3.arcgis.com/GVgbJbqm8hXASVYi/ArcGIS/rest/services/Trails/FeatureServer/0"&gt;trails layer&lt;/A&gt; you are adding to your map only contains a handful of trails near Santa Monica, California. (It most probably is just a sample data set for testing and demonstration purposes.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, even though you center your map somewhere else, the trails layer will always appear where it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to show bike trails in Tampa, you will go and have to look for another data source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Egge-Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2020 14:13:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-i-apply-bikelayer-for-bike-trails-it-always/m-p/486388#M45262</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2020-07-14T14:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: When I apply bikelayer for bike trails  it always draw near specific area despite the fact I changed lat and long of map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-i-apply-bikelayer-for-bike-trails-it-always/m-p/486389#M45263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2020 14:18:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-i-apply-bikelayer-for-bike-trails-it-always/m-p/486389#M45263</guid>
      <dc:creator>JavedIqbal1</dc:creator>
      <dc:date>2020-07-14T14:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: When I apply bikelayer for bike trails  it always draw near specific area despite the fact I changed lat and long of map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-i-apply-bikelayer-for-bike-trails-it-always/m-p/486390#M45264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2020 14:19:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-i-apply-bikelayer-for-bike-trails-it-always/m-p/486390#M45264</guid>
      <dc:creator>JavedIqbal1</dc:creator>
      <dc:date>2020-07-14T14:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: When I apply bikelayer for bike trails  it always draw near specific area despite the fact I changed lat and long of map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-i-apply-bikelayer-for-bike-trails-it-always/m-p/486391#M45265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your replay.&lt;/P&gt;&lt;P&gt;Actually I am very new to this API . I can't understand your below point:&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="background-color: #ffffff;"&gt;another data source."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;How can I do that&amp;nbsp;? Basically all I want to show bike trails in Tampa Florida.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2020 15:44:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-i-apply-bikelayer-for-bike-trails-it-always/m-p/486391#M45265</guid>
      <dc:creator>JavedIqbal1</dc:creator>
      <dc:date>2020-07-14T15:44:03Z</dc:date>
    </item>
  </channel>
</rss>

