<script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/ve/?v=1.4" ></script> <script type="text/javascript"> var serviceObj = new ESRI.ArcGIS.VE.ArcGISLayerFactory(); serviceObj.CreateLayer("http://server/ArcGIS/rest/services/service_name/MapServer", "LayerName", OnLayerCreated); function OnLayerCreated(tileSpec, resourceInfo) { alert(tileSpec); //object alert(resourceInfo); //undefined } </script>
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.