AnsweredAssumed Answered

Adding a tiled map service from ArcGIS Online to Leaflet

Question asked by MidnightYell2003 Champion on Nov 10, 2016
Latest reply on Nov 14, 2016 by JGravois-esristaff

So, I really don't know what I'm doing at times. I hope this is a simple question. I have a tiled map service that I published to the cloud in ArcGIS Online of a jpg that is georeferenced. I want to show this in Leaflet but I am not exactly sure how to do this (the purpose is that I want to add some points to it afterwards that will have popup info, etc - I just want the image as the "basemap").

 

I posted a leaflet question a couple of months ago that John Gravois helped me with, here: How to make custom basemap with arbitrary location . He posted great sample that showed me how to add a loose image to a map without it being georeferenced with this code: JS Bin - Collaborative JavaScript Debugging  (that I use all the time!).

 

In any case, what is a simple way to make a quick leaflet example that will show my tiled service as the "basemap"? Or is this not possible?

 

Thanks in advance!

Outcomes