GET http://services.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServerf=json 404 (Not Found) XMLHttpRequest cannot load http://services.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServerf=json. Origin http://bukovite is not allowed by Access-Control-Allow-Origin. leaflet-custom.js:6Uncaught TypeError: Cannot call method 'replace' of undefined
Access-Control-Allow-Origin: *
From what I was told, however, CORS is not required for this. You should be able to use jsonp.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.