<?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 Top gapping (margin, padding) problem with ArcGISTiledMapServiceLayer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/top-gapping-margin-padding-problem-with/m-p/1080143#M73923</link>
    <description>&lt;P&gt;I want to display the full map at first load.&lt;/P&gt;&lt;P&gt;So I did the coding..everything good but there is too much top padding. How to fix that&lt;/P&gt;&lt;P&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt;&amp;lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&amp;gt;&lt;BR /&gt;&amp;lt;meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no"&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Tiled map service&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;link rel="stylesheet" href="&lt;A href="https://js.arcgis.com/3.37/esri/css/esri.css" target="_blank" rel="noopener"&gt;https://js.arcgis.com/3.37/esri/css/esri.css&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;lt;style&amp;gt;&lt;BR /&gt;html, body, #map {&lt;BR /&gt;height: 100%; width: 100%; margin: 0; padding: 0;&lt;BR /&gt;}&lt;BR /&gt;#map { height:2000px;}&lt;BR /&gt;&amp;lt;/style&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script src="&lt;A href="https://js.arcgis.com/3.37/" target="_blank" rel="noopener"&gt;https://js.arcgis.com/3.37/&lt;/A&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;var map;&lt;/P&gt;&lt;P&gt;require(["esri/map",&lt;BR /&gt;"esri/layers/ArcGISTiledMapServiceLayer",&lt;BR /&gt;"esri/geometry/Point",&lt;BR /&gt;"esri/SpatialReference",&lt;BR /&gt;"dojo/domReady!"],&lt;BR /&gt;function(Map, ArcGISTiledMapServiceLayer, Point, SpatialReference) {&lt;BR /&gt;map = new Map("map", {&lt;BR /&gt;//center: new Point(1714791.187457787, 2194882.166227445, new SpatialReference({ wkid: 5936 }))&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;var tiled = new ArcGISTiledMapServiceLayer("&lt;A href="https://geodata.npolar.no/arcgis/rest/services/Basisdata/NP_Basiskart_Svalbard_WMTS_25833/MapServer" target="_blank" rel="noopener"&gt;https://geodata.npolar.no/arcgis/rest/services/Basisdata/NP_Basiskart_Svalbard_WMTS_25833/MapServer&lt;/A&gt;");&lt;BR /&gt;map.addLayer(tiled);&lt;BR /&gt;}&lt;BR /&gt;);&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;BR /&gt;&amp;lt;div id="map"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Codepen:&amp;nbsp;&lt;A href="https://codepen.io/subhas-chandra-show/pen/wvderzV" target="_blank"&gt;https://codepen.io/subhas-chandra-show/pen/wvderzV&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jul 2021 06:38:40 GMT</pubDate>
    <dc:creator>SubhasShow</dc:creator>
    <dc:date>2021-07-19T06:38:40Z</dc:date>
    <item>
      <title>Top gapping (margin, padding) problem with ArcGISTiledMapServiceLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/top-gapping-margin-padding-problem-with/m-p/1080143#M73923</link>
      <description>&lt;P&gt;I want to display the full map at first load.&lt;/P&gt;&lt;P&gt;So I did the coding..everything good but there is too much top padding. How to fix that&lt;/P&gt;&lt;P&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt;&amp;lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&amp;gt;&lt;BR /&gt;&amp;lt;meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no"&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Tiled map service&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;link rel="stylesheet" href="&lt;A href="https://js.arcgis.com/3.37/esri/css/esri.css" target="_blank" rel="noopener"&gt;https://js.arcgis.com/3.37/esri/css/esri.css&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;lt;style&amp;gt;&lt;BR /&gt;html, body, #map {&lt;BR /&gt;height: 100%; width: 100%; margin: 0; padding: 0;&lt;BR /&gt;}&lt;BR /&gt;#map { height:2000px;}&lt;BR /&gt;&amp;lt;/style&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script src="&lt;A href="https://js.arcgis.com/3.37/" target="_blank" rel="noopener"&gt;https://js.arcgis.com/3.37/&lt;/A&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;var map;&lt;/P&gt;&lt;P&gt;require(["esri/map",&lt;BR /&gt;"esri/layers/ArcGISTiledMapServiceLayer",&lt;BR /&gt;"esri/geometry/Point",&lt;BR /&gt;"esri/SpatialReference",&lt;BR /&gt;"dojo/domReady!"],&lt;BR /&gt;function(Map, ArcGISTiledMapServiceLayer, Point, SpatialReference) {&lt;BR /&gt;map = new Map("map", {&lt;BR /&gt;//center: new Point(1714791.187457787, 2194882.166227445, new SpatialReference({ wkid: 5936 }))&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;var tiled = new ArcGISTiledMapServiceLayer("&lt;A href="https://geodata.npolar.no/arcgis/rest/services/Basisdata/NP_Basiskart_Svalbard_WMTS_25833/MapServer" target="_blank" rel="noopener"&gt;https://geodata.npolar.no/arcgis/rest/services/Basisdata/NP_Basiskart_Svalbard_WMTS_25833/MapServer&lt;/A&gt;");&lt;BR /&gt;map.addLayer(tiled);&lt;BR /&gt;}&lt;BR /&gt;);&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;BR /&gt;&amp;lt;div id="map"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Codepen:&amp;nbsp;&lt;A href="https://codepen.io/subhas-chandra-show/pen/wvderzV" target="_blank"&gt;https://codepen.io/subhas-chandra-show/pen/wvderzV&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 06:38:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/top-gapping-margin-padding-problem-with/m-p/1080143#M73923</guid>
      <dc:creator>SubhasShow</dc:creator>
      <dc:date>2021-07-19T06:38:40Z</dc:date>
    </item>
  </channel>
</rss>

