it'd probably be easier to just reference the JS API via SSL as wellie.https://serverapi.arcgisonline.com/jsapi/gmaps/?v=1.6
map.addLayer(new esri.layers.ArcGISDynamicMapServiceLayer("http://services.arcgisonline.com/ArcGIS/rest/services/Specialty/Soil_Survey_Map/MapServer"))
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.