Hello
I am wondering if I can use ArcGIS Online similar to ArcServer? I am trying to upload tiles to arc online then use them with the API (see below):
<script>
var map;
require(["esri/map", "esri/layers/ArcGISTiledMapServiceLayer("my URL?")", "dojo/domReady!"],
function(Map, Tiles) {
map = new Map("map", {basemap: "streets",
center: [-78.785706, -1.774008], // longitude, latitude
zoom: 7});
var tiles = new Tiles("https://tiles.arcgis.com/tiles/.../arcgis/rest/services/ECU_Tiles/MapServer");
map.addLayer(tiles);
}
);
</script>
I am not sure what the the ("my URL") would be using arcgis online... unless I can't in which case it would make more sense.
Any help and or suggestions are greatly appreciated!
-Chris