<?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: Javascript Template without ArcGIS.com Map Services? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322434#M29671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I haven't been able to figure this out, but I do know from looking at the API reference that map and webmap are two different things.&amp;nbsp; So it's going to take more than just a few changes in URL etc to get this to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been successful so far with just adding some lines in the layout.js in the function unitUI.&amp;nbsp; It still relies on the webmap from arcgis.com, but at least I have been add an additional feature layer over the top.&amp;nbsp; It's a start anyway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I inserted these lines after the line map.graphics.add(maxExtentGraphic);&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having problems with the title of the infoTemplate, basically I'm defining it, but it's not showing up as a title.&amp;nbsp; I think I'm getting infoWindows and popUps confused.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
 var title = "${FACILITY}";
 var content = "&amp;lt;b&amp;gt;${FACILITY}&amp;lt;/b&amp;gt;" + "&amp;lt;br&amp;gt;${ADDRESS}" + "&amp;lt;br&amp;gt;${CITY}" ;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; var template = new esri.InfoTemplate(title,content); 
&amp;nbsp;&amp;nbsp; //var template = new esri.InfoTemplate();
&amp;nbsp;&amp;nbsp; //template.setTitle("hospital");
&amp;nbsp;&amp;nbsp; //template.setContent(content);
&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var featureLayer = new esri.layers.FeatureLayer("http://myserver/arcgis/rest/services/myserviceName/MapServer/1",{ 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: esri.layers.FeatureLayer.MODE_SNAPSHOT, 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: ["*"],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoTemplate:template 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }); 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var pictureSymbol = new esri.symbol.PictureMarkerSymbol('images/hospital_square.png', 12, 12);&amp;nbsp;&amp;nbsp;&amp;nbsp; 

&amp;nbsp;&amp;nbsp; 
 var featureRenderer = new esri.renderer.SimpleRenderer(pictureSymbol);
 featureLayer.renderer = featureRenderer;
 
 map.addLayer(featureLayer);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 15:18:39 GMT</pubDate>
    <dc:creator>TracySchloss</dc:creator>
    <dc:date>2021-12-11T15:18:39Z</dc:date>
    <item>
      <title>Javascript Template without ArcGIS.com Map Services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322430#M29667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to use the ArcGIS.com javascript templates w/out ArcGIS.com hosted maps? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We're trying to edit a feature service that's on our intranet, and so it is not accessible via ArcGIS.com. I've seen how to add a map definition using JSON instead of just a mapID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been able to load a map hosted on Arcgis.com via the JSON definitition, but when I try to point to our internal services, the map fails to initialize. When initializing, the layer objects under each map layer are all undefined.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, using the Editor_Chrome template, this works to define the ConfigOptions.webmap:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var webmap = {}; webmap.item = { "title": "Soil Survey Map of USA", "snippet": "Detailed description of data", "extent": [[-139.4916, 10.7191], [-52.392, 59.5199]] };
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; webmap.itemData = { "operationalLayers": [{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "url": "http://server.arcgisonline.com/ArcGIS/rest/services/Specialty/Soil_Survey_Map/MapServer",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "visibility": true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "opacity": 0.75,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "title": "Soil Survey Map",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "itemId": "204d94c9b1374de9a21574c9efa31164"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "baseMap": {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "baseMapLayers": [{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "opacity": 1,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "visibility": true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "isReference": true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "opacity": 1,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "visibility": true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "url": "http://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Reference_Overlay/MapServer"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "title": "World_Terrain_Base"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "version": "1.1"&amp;nbsp;&amp;nbsp;&amp;nbsp; };
&amp;nbsp; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But this does not:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var webmap = {}; webmap.item = { 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "title": "San Diego Special Events", 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "snippet": "Special Events Locations", 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "extent": [[6171671, 1760860], [6621931, 2102353]] };
 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; webmap.itemData = { "operationalLayers": [{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "url": "http://vmgisprod3/ArcGIS/rest/services/SEPS_Edit/FeatureServer",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "visibility": true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "opacity": 1,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "title": "Special Events Map",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "itemId": "204d94c9b1374de9a21574c9efa31164"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "baseMap": {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "baseMapLayers": [{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "opacity": 1,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "visibility": true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "url": "http://citymaps.sannet.gov/ArcGIS/rest/services/SanGIS_Basemap/MapServer"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "isReference": true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "opacity": 1,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "visibility": true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "url": "http://citymaps.sannet.gov/ArcGIS/rest/services/SanGIS_Basemap/MapServer"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "title": "San Diego Basemap"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "version": "1.1"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };
 
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a definition of the JSON webmap syntax somewhere that might give me a clue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 21:46:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322430#M29667</guid>
      <dc:creator>ChrisPyle</dc:creator>
      <dc:date>2011-11-17T21:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Template without ArcGIS.com Map Services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322431#M29668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I too am attempting to create an application using webmap JSON which is failing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using version 2.6 of the JavaScript API and the JSON sample from:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/intro_webmap.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/intro_webmap.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Which is clearly an older version of the webmap JSON specification than what is currently being used on ArcGIS.com.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It would really help with development if this specification was published somewhere.&amp;nbsp; Currently the only way i can get it to work is to look at the JSON responses of the ArcGIS.com webmaps, save the files and then edit them with my own content.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2012 11:07:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322431#M29668</guid>
      <dc:creator>SamLarsen</dc:creator>
      <dc:date>2012-01-11T11:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Template without ArcGIS.com Map Services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322432#M29669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Chris, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your second example you are trying to add a layer from a feature service without specify the index of the layer to display. Here's an example that shows how to add a feature service layer:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
 "operationalLayers": [{
&amp;nbsp;&amp;nbsp;&amp;nbsp; "url": "http://sampleserver3.arcgisonline.com/arcgis/rest/services/HomelandSecurity/operations/FeatureServer/2",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "id": "operations_9184",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "visibility": true,
&amp;nbsp;&amp;nbsp;&amp;nbsp; "opacity": 1,
&amp;nbsp;&amp;nbsp;&amp;nbsp; "mode": 1,
&amp;nbsp;&amp;nbsp;&amp;nbsp; "title": "operations - Incident Areas",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "popupInfo": {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "title": "Incident Areas: {ftype}",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "fieldInfos": [{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "fieldName": "objectid",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "label": "Object ID",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "isEditable": false,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "tooltip": "",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "visible": false,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "stringFieldOption": "textbox"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, {

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:18:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322432#M29669</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2021-12-11T15:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Template without ArcGIS.com Map Services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322433#M29670</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;Can anyone provide step-by-step instructions (based on the basic viewer template) on how to replace the webmap id with code that will load map services from an independent server?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The templates are a good start for learning the javascript api but I could do with some help understanding how to modify them to use a internal map server.&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;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 14:25:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322433#M29670</guid>
      <dc:creator>MatthewPilgrim</dc:creator>
      <dc:date>2012-05-29T14:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Template without ArcGIS.com Map Services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322434#M29671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I haven't been able to figure this out, but I do know from looking at the API reference that map and webmap are two different things.&amp;nbsp; So it's going to take more than just a few changes in URL etc to get this to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been successful so far with just adding some lines in the layout.js in the function unitUI.&amp;nbsp; It still relies on the webmap from arcgis.com, but at least I have been add an additional feature layer over the top.&amp;nbsp; It's a start anyway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I inserted these lines after the line map.graphics.add(maxExtentGraphic);&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having problems with the title of the infoTemplate, basically I'm defining it, but it's not showing up as a title.&amp;nbsp; I think I'm getting infoWindows and popUps confused.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
 var title = "${FACILITY}";
 var content = "&amp;lt;b&amp;gt;${FACILITY}&amp;lt;/b&amp;gt;" + "&amp;lt;br&amp;gt;${ADDRESS}" + "&amp;lt;br&amp;gt;${CITY}" ;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; var template = new esri.InfoTemplate(title,content); 
&amp;nbsp;&amp;nbsp; //var template = new esri.InfoTemplate();
&amp;nbsp;&amp;nbsp; //template.setTitle("hospital");
&amp;nbsp;&amp;nbsp; //template.setContent(content);
&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var featureLayer = new esri.layers.FeatureLayer("http://myserver/arcgis/rest/services/myserviceName/MapServer/1",{ 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: esri.layers.FeatureLayer.MODE_SNAPSHOT, 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: ["*"],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoTemplate:template 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }); 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var pictureSymbol = new esri.symbol.PictureMarkerSymbol('images/hospital_square.png', 12, 12);&amp;nbsp;&amp;nbsp;&amp;nbsp; 

&amp;nbsp;&amp;nbsp; 
 var featureRenderer = new esri.renderer.SimpleRenderer(pictureSymbol);
 featureLayer.renderer = featureRenderer;
 
 map.addLayer(featureLayer);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:18:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322434#M29671</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2021-12-11T15:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Template without ArcGIS.com Map Services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322435#M29672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey there, any more info on converting the map templates to use map services instead of webMaps?&amp;nbsp; I'm trying to do the same thing.&amp;nbsp; and am hacking my around layout.js with no success.&amp;nbsp; Step by step instructions would be great.&amp;nbsp; Sounds like an idea for an ESRI blog!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 20:22:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322435#M29672</guid>
      <dc:creator>NilsBabel</dc:creator>
      <dc:date>2012-12-04T20:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Template without ArcGIS.com Map Services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322436#M29673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have not focused on this recently.&amp;nbsp; However at the London Development Conference it was mentioned that a specification for WebMap will be released.&amp;nbsp; After a bit of digging I found the following which might be useful:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/ags_createwebmapid.html"&gt;Initialise a map using an ArcGIS map id.&lt;/A&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/ags_basic.html"&gt;As above but pass the id as a URL parameter.&lt;/A&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/ags_createwebmapitem.html"&gt;Initialise a map using JSON.&lt;/A&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;SPAN&gt;In the last example I can�??t find documentation for ItemData �?? I assume this is what will be published.&amp;nbsp; The flex documents describe ItemData as �??The item data returned by getItem(), createMapById() and createMapByItem() in WebMapUtil. This includes the layer information.�?�&amp;nbsp; They also give &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/samples/index.html#//01nq0000007t000000"&gt;another example&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I figure we can probably sniff out enough of the ItemData syntax to store it in a local config file (with services directed to the local server) and then use it to initialise a map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps, Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 06:51:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322436#M29673</guid>
      <dc:creator>MatthewPilgrim</dc:creator>
      <dc:date>2012-12-05T06:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Template without ArcGIS.com Map Services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322437#M29674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;its a bit of a hack, but until the web map specification documentation is released, you can always snoop the itemData JSON for published web maps to get a look at syntax using the following Url format&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;http://www.arcgis.com/sharing/content/items/[webmapid]/data?f=pjson&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for example&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.arcgis.com/sharing/content/items/a96ce92a485f4ab4b609cd2f1a7e6e40/data?f=pjson"&gt;http://www.arcgis.com/sharing/content/items/a96ce92a485f4ab4b609cd2f1a7e6e40/data?f=pjson&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 15:35:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322437#M29674</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2012-12-05T15:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Template without ArcGIS.com Map Services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322438#M29675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks all for the info and this question. I am also looking to do this exact same thing: use Basic Viewer template but get rid of dependency on ArcGIS.com, except to call basemap layers on their own.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm an extreme beginner with it all (HTML, CSS, JavaScript, ESRI JS API, Dojo etc). But I am making our local web mapping applications and Javascript has been selected for its write-once, run on all platforms capabilities.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Vis. Studio 2012 from Microsoft with all this. I figured out Code Assist.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Basic Viewer template at first seems simple enough but upon digging in to it not so "basic", for my very humble skills.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I've done so far is get rid of the ESRI logo (replaced with link to transparent image, I couldn't get any code snippets to work that told it to "turn off") and put a custom logo up at the top of the page via an img src= HTML tag. I added layers via ArcGIS.com and set the initial extent this way. Will these settings hold if I remove dependencies on ArcGIS.com with the webmap ID? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I like that Basic Viewer "just works". But, it's actually a big stack of code and more step-by-step documentation on how to remove ArcGIS.com dependency would be great. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other thing that first threw me for a loop is the naming convention ESRI has established in Basic Viewer using things like "map" that are easy to confuse with operators or whatever they are called, methods(?), the things you call from Dojo. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also all this with JSON, sounds intimidating. ESRI can you consider releasing a "local" version of Basic Viewer that is all set up to accept links to our own servers? So we just drop in the URLs to our Services we are publishing with Arc Server? Similar to how it works now only without ArcGIS.com. Kelly or anyone else from ESRI what are your thoughts here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope someone figures an answer out, and much thanks if anyone can post it or a link to it here!&amp;nbsp; Looking at this thread...is it the consensus that we're stuck waiting for web map "specification" documentation from ESRI?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 15:45:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322438#M29675</guid>
      <dc:creator>KevinMacLeod1</dc:creator>
      <dc:date>2012-12-14T15:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Template without ArcGIS.com Map Services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322439#M29676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;documentation on the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-web-map-json/"&gt;web map spec&lt;/A&gt;&lt;SPAN&gt; was released the other day.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it is my understanding that the JavaScript team has no plans to develop and maintain a single configurable "Viewer" which will include a full pallete of widgets and allow you to plug and play with your own services.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 16:27:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322439#M29676</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2012-12-14T16:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Template without ArcGIS.com Map Services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322440#M29677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to figure how I'd go about removing the webmap in the basic viewer template too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would I basically comment out the webmap id in the index.html and build a webmap in the layout.js?&amp;nbsp; Maybe using &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/ags_createwebmapitem.html"&gt;Create web map using JSON&lt;/A&gt;&lt;SPAN&gt; as an example, using my own services?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 12:37:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322440#M29677</guid>
      <dc:creator>NewUser</dc:creator>
      <dc:date>2013-04-02T12:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Template without ArcGIS.com Map Services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322441#M29678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I created this function based on the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/ags_createwebmapitem.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Create web map using and JSON sample&lt;/A&gt;&lt;SPAN&gt; and&amp;nbsp; placed it in the basic viewer index.html.&lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; function add() {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var webmap = {};
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; webmap.item = {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "title":"Soil Survey Map of USA",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "snippet": "This map shows the Soil Survey Geographic (SSURGO) by the United States Department of Agriculture's Natural Resources Conservation Service.",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "extent": [[-139.4916, 10.7191],[-52.392, 59.5199]]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; webmap.itemData = {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "operationalLayers": [{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "url": "http://server.arcgisonline.com/ArcGIS/rest/services/Specialty/Soil_Survey_Map/MapServer",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "visibility": true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "opacity": 0.75,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "title": "Soil Survey Map",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "itemId": "204d94c9b1374de9a21574c9efa31164"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "baseMap": {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "baseMapLayers": [{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "opacity": 1,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "visibility": true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "isReference": true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "opacity": 1,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "visibility": true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "url": "http://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Reference_Overlay/MapServer"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "title": "World_Terrain_Base"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "version": "1.1"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return webmap;
}&lt;/PRE&gt;&lt;SPAN&gt;In the index.html, I then changed &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;webmap: "dbd1c6d52f4e447f8c01d14a691a70fe",&lt;/PRE&gt;&lt;SPAN&gt; to &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;webmap: add(),&lt;/PRE&gt;&lt;SPAN&gt;It seems to work fine and when I click on a soil polygon the popup works as expected.&amp;nbsp; The trouble I'm having is when I switch to an operational layer on my server, it's added to the map and displays in the legend just fine, but the identify popup doesn't work.&amp;nbsp; Any thoughts on what I can troubleshoot?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:18:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322441#M29678</guid>
      <dc:creator>NewUser</dc:creator>
      <dc:date>2021-12-11T15:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Template without ArcGIS.com Map Services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322442#M29679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was able to configure the popup by configuring the "popupInfo": in my operationallayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing I noticed is that my ability to zoom in seems to be limited to about 1" = 1 mile....the same behavior as the Create web map from JSON sample.&amp;nbsp; Where is this controlled?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 21:40:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322442#M29679</guid>
      <dc:creator>NewUser</dc:creator>
      <dc:date>2013-04-02T21:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Template without ArcGIS.com Map Services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322443#M29680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It looks like this is determined by maybe a scale range set in the basemap?&amp;nbsp; I changed the basemap to OpenStreetMap and I can zoom in as far as I want.&amp;nbsp; I added Bing and can also zoom in as far as I want, but I noticed that the x,y coordinates I have displayed below the map disappear if I use Bing, but not if I use OpenStreetMap.&amp;nbsp; I've added Bing to the basemapgallery and if I use OpenStreetMap as the Basemap in the webmap and then switch to Bing from the basemapgallery, the x,y coordinates are also fine.&amp;nbsp; Thoughts as to what the issue might be?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 15:32:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322443#M29680</guid>
      <dc:creator>NewUser</dc:creator>
      <dc:date>2013-04-03T15:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Template without ArcGIS.com Map Services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322444#M29681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;It looks like this is determined by maybe a scale range set in the basemap?&amp;nbsp; I changed the basemap to OpenStreetMap and I can zoom in as far as I want.&amp;nbsp; I added Bing and can also zoom in as far as I want, but I noticed that the x,y coordinates I have displayed below the map disappear if I use Bing, but not if I use OpenStreetMap.&amp;nbsp; I've added Bing to the basemapgallery and if I use OpenStreetMap as the Basemap in the webmap and then switch to Bing from the basemapgallery, the x,y coordinates are also fine.&amp;nbsp; Thoughts as to what the issue might be?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for documenting your workflows. This thread has been very usefull for me. Did you ever figure out how to disable this zoom restriction on the esri basemap layers?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 18:33:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322444#M29681</guid>
      <dc:creator>ryanreise</dc:creator>
      <dc:date>2013-11-07T18:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Template without ArcGIS.com Map Services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322445#M29682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;new2jsapi could you tell me where exactly in the index.html you inserted the code snippet from &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/ags_createwebmapitem.html"&gt;https://developers.arcgis.com/javascript/jssamples/ags_createwebmapitem.html&lt;/A&gt;&lt;SPAN&gt; ? I'm having trouble getting this to work. I'm familiar with digging through this code but not an expert by any means. I've already replaced the webmap ID with "webmap: add(),"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 16:47:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322445#M29682</guid>
      <dc:creator>Mtclimber03</dc:creator>
      <dc:date>2014-04-14T16:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Template without ArcGIS.com Map Services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322446#M29683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How is your progress?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would also like to know how to point to a ArcGIS Server ID instead of an AGOL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ezequias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 16:09:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322446#M29683</guid>
      <dc:creator>EzequiasRodrigues_da_Rocha1</dc:creator>
      <dc:date>2014-11-05T16:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Template without ArcGIS.com Map Services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322447#M29684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;... how to point to a ArcGIS Server ...&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/Viewer/issues/16" title="https://github.com/Esri/Viewer/issues/16"&gt;Add Function to use our ArcGIS server services · Issue #16 · Esri/Viewer · GitHub&lt;/A&gt; &lt;/P&gt;&lt;P&gt;this should help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 17:09:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322447#M29684</guid>
      <dc:creator>DanielSmith</dc:creator>
      <dc:date>2014-11-05T17:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Template without ArcGIS.com Map Services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322448#M29685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am stuck on "webmap": "204d94c9b1374de9a21574c9efa31164", on defaults.js &lt;/P&gt;&lt;P&gt;how i use ur codes in this situation?&lt;/P&gt;&lt;P&gt;Please Guide me&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 06:10:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322448#M29685</guid>
      <dc:creator>Asgharkhan</dc:creator>
      <dc:date>2014-12-15T06:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Template without ArcGIS.com Map Services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322449#M29686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;an alternative way to provide your webmap is from cartoview which is free. &lt;A href="http://cartologic.com/cartoview/apps/cartoserver/help/webmap/" title="http://cartologic.com/cartoview/apps/cartoserver/help/webmap/"&gt;Cartoview&lt;/A&gt;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 21:10:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-template-without-arcgis-com-map/m-p/322449#M29686</guid>
      <dc:creator>AdamJoseph1</dc:creator>
      <dc:date>2015-06-16T21:10:33Z</dc:date>
    </item>
  </channel>
</rss>

