Thanks. Looks like the text symbol issue is a bug. I'll post a bug ID to track it once I've confirmed.
On Bing maps I just confirmed that MAP_STYLE_AERIAL_WITH_LABELS is what doesn't print vs your version of MAP_STYLE_AERIAL. Strangely similar to the textsymbol bug. Thanks.
function fixBingHybrid(ioArgs) { // look for requests to the print service if ( ioArgs.url == app.printUrl + "/execute" ) { var webmapJson = dojo.fromJson(ioArgs.content.Web_Map_as_JSON); // check that the webmap JSON has operational layers // bing is always considered an operational layer if ( webmapJson.operationalLayers.length ) { dojo.forEach(webmapJson.operationalLayers, function(lyr) { // correct the type property for the bing hybrid layer if ( lyr.type && lyr.type == "BingMapsaerialWithLabels" ) { lyr.type = "BingMapsHybrid"; } }); ioArgs.content.Web_Map_as_JSON = dojo.toJson(webmapJson); } } return ioArgs; }
esri.setRequestPreCallback(fixBingHybrid);
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.