Created
August 3, 2018 14:12
-
-
Save stdavis/d3a42cb7a6b8755c45fc52c628835949 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require([ | |
| 'esri/map', | |
| 'esri/layers/ArcGISTiledMapServiceLayer' | |
| ], | |
| function (Map, Tiled) { | |
| var serviceUrl = 'http://mapserv.utah.gov/arcgis/rest/services/BaseMaps/Terrain/MapServer'; | |
| var map = new Map('map-div'); | |
| var tiledService = new Tiled(serviceUrl); | |
| map.addLayer(tiledService); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment