こんにちは。
最終的には一般公開して閲覧と検索のみに使用するアプリケーションを作成しました(WAB AGOを使用。開発者向けエディションではありません)。一般の利用者が印刷できるようにしたいと考えています。印刷ウィジェットを追加し、次のURLを使用しました。
"https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task"
印刷ウィジェットは正常に動作し、地図画像も期待どおりですが、凡例が表示されません。ドロップダウンからさまざまな印刷出力形式を試しましたが、何も変わりません。凡例が表示されないのです。
アプリケーション内のレイヤーはすべて、ホストされたフィーチャレイヤーまたはタイルレイヤーです。
この問題を解決する方法について、何か提案はありますか?
ありがとうございます。
Yes
Jeff,
Tiled layers do not produce entries in the map legend. That is just how it works.
Hi Robert,
That would explain quite a lot. If I were to add the corresponding hosted feature layer instead...would that work?
Thanks.
Thank you, Robert.
I have a webmap pulling to sets of layers: AGOL hosted Feature Layers and on Premise Map Image Layer. Using both print widgets (from webmap and webapp) the result is the same: the map image layers are displayed normally, but the Feature Layers are not printed. Any solution for that?
Tks
Is this a bug that's got a tracking number somewhere? It can't be that this is just the preferred behavior....a user of a web map has no idea what's a tile layer versus a hosted feature layer, and they don't care. They see a print document that's missing its legend. We have layers with tens of thousands of features, so we serve them as tile layers for efficiency, which is per ESRI's advice. What am I missing here?
It is as Robert indicates. Tile layers do not show up in the legend. However, if you add the corresponding hosted feature layer to the web map, save, open the web application and select print...the feature layer will appear in the legend. BTW...this is using the default ESRI print service as indicated above.
I'm currently running into a bit of a bizarre issue with labels not showing up on output as well.
I've never discussed this issue with ESRI. I am in complete agreement with you!
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.