I often have javascript web applications that want to use tiled services from http://services.arcgisonline.com, but before using them I would like to get some tiling and copyright information. Generally, I would do that by first issuing a request like http://services.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer?f=json, and parsing the response to find the tiling information.The trouble is that because my web application is on one server, and the services are on another, the web browser viewing my application will not make the request: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
This is a cross-origin request issue, and modern web browsers will allow such requests if the server the request is sent to returns the following header: Access-Control-Allow-Origin: *
. See http://enable-cors.org/ for more information.Is there any chance that at some point in the future, the servers at http://services.arcgisonline.com might allow CORS requests?Thanks,Ryan