<mapservice label="Bing Streets" type="virtualearth" visible="false" style="road" alpha="1" icon="com/esri/solutions/flexviewer/assets/images/icons/i_globe.png">assets/bing-app-id.txt</mapservice>
"authenticationResultCode":"NotAuthorized","brandLogoUri":"http:\/\/dev.virtualearth.net\/Branding\/logo_powered_by.png","copyright":"Copyright © 2011 Microsoft and its suppliers. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from Microsoft Corporation.","errorDetails":["Access was denied. You may have entered your credentials incorrectly, or you might not have access to the requested resource or operation."],"resourceSets":[],"statusCode":401,"statusDescription":"Unauthorized",...
<% @ webhandler language="C#" class="AverageHandler" %> using System; using System.Web; public class AverageHandler : IHttpHandler { public bool IsReusable { get { return true; } } public void ProcessRequest(HttpContext ctx) { ctx.Response.Write("{\"token\": \"Ahw1due6dkmZg98wUJJYLrVmxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxfH-asjjH\"}"); } }
<% @ webhandler language="C#" class="AverageHandler" %> using System; using System.Web; public class AverageHandler : IHttpHandler { public bool IsReusable { get { return true; } } public void ProcessRequest(HttpContext ctx) { ctx.Response.Write("{"token": "Ahw1due6dkmZg98wUJJYLrVmYlDik4oleCgxxxxxxxxxxxxxxxImQH1HfH-asjjH"}"); } }
<mapservice label="Bing Aerial" type="virtualearth" visible="true" style="aerialWithLabels" alpha="1" icon="com/esri/solutions/flexviewer/assets/images/icons/i_globe.png">http://gis1/vetoken.ashx</mapservice>
case "virtualearth": { var veTiledLayer:VETiledLayer = new VETiledLayer(); veTiledLayer.id = label; veTiledLayer.tokenURL = url; veTiledLayer.environment = "production"; veTiledLayer.visible = visible; veTiledLayer.alpha = alpha; veTiledLayer.mapStyle = style; veTiledLayer.name = label; map.addLayer(veTiledLayer); break; }
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.