テスト用に、Pro から ArcGIS Online にシンプルなスタイルを公開しました。 Pro のシンボル設定にある標準のシェイプ マーカーを使って作成したポイント シンボルが 1 つだけ含まれています。 このスタイルをグループに追加し、そのグループを組織の設定でデフォルトの 2D Web スタイル グループにしました。
Map Viewer(新しい方で、Classic ではありません)で新しいマップにポイント レイヤーを追加し、スタイルの設定を開くと、アップロードしたスタイルが一覧に表示されました。 しかし、そのシンボルを読み込もうとすると、画面の読み込み中表示が延々と回り続けます。 スクリーンショットを添付しました。
何が間違っているのか分かりません。
このブログ記事の手順に従っています。
https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/use-published-2d-symbols-in-arcgis-online/
@RussRoberts
thanks! we have an issue in to look at supporting additional sharing configurations for your styles.
The issue was with the style file having some unsupported characters and Pro was not flagging or removing them on publishing time which caused broken resources in the web style. If you can update the the key field in Pro on the symbol to remove the illegal characters and republishing will fix the issue.
Hey Kevin,
Can you share your web style and style file you published with me? Thanks!
Not seeing RussellRoberts1 in AGOL. Another username?
russell_jsapi is the one 🙂
Looks like I can repro the issue. It looks to be localized to the symbol styler failing to load a gallery with a shape marker symbol in it but if you use a picture marker symbol the gallery loads without issue.
Thanks! So, would that mean that custom vector symbols are not available?
actually scratch my above statement. Can you share the style with everyone along with the group and see if that solves the issue.
Confirmed. When I share the style to Everyone and the group, the symbols appear.
Will changing the default web style group under org settings add to available symbology options or will doing so remove existing default esri symbol sets available in map viewer?
We auto share the esri default styles to the group so they will be around but if you really want them removed you can take them out of the group.
Got it. I assumed that was the case but didn't want to be left without default symbol galleries after changing web styles group to my own.
Experiencing same symptoms as Kevin with gallery not loading in symbol selector. Custom web style available as option but gallery is blank and spinning endlessly. Shared web style item and web style group with everyone, but no change in behavior.
Using esri Transportation style shared as web style from Pro. Corrected 5 errors due to noncompliant characters in key name. Also, 71 items removed due to unsupported 2D web styles but hoping the remaining 276 symbols meet my current needs. Any help greatly appreciated.
I think it might be due to some other characters not being caught in the analyzer which makes a bad URL to query the resource. If you know how to open the developer console in chrome and look at the console you will see an error about a resource not being accessible.
So for one I see the "." in the key is creating a bad url and cannot find the resource. removeing the "." will fix it.
. "https://****.maps.arcgis.com/sharing/rest/content/items/***/resources/styles/cim/U.S. Route Shield.json"
Not sure how to open developer console in chrome to verify access to resource but I'll clean up the style item keys and republish. Lots of special characters found in item keys of Transportation style. I originally removed only those listed in documentation.
Hopefully that's all it takes. Thanks again.
@KyleOberg @RussRoberts Was this ever resolved? Also trying to get the transportation style for use to build a traffic control web application which they need MUTCD signs for. Still getting the spinning circle. Have an open case with tech support but haven't resolved it yet. Thanks in advance!
Brett Rosso
City of Longmont
Hi Russell,
Thank you so much! I got it working after removing those illegal characters. Much appreciated.
Brett
@RussRoberts I followed your guide to sharing web styles, I can see the web style in my group on portal, the group is set to shared with everyone, and the group is listed as web style group under organization settings. but when i go into web viewer beta i dont see my symbols. I'm trying to share a style for APP6D military symbols to be used in portal. im using enterprise 10.8 and pro 2.8
Commented on your blog question but just incase you didnt catch the notification
These style categories wont work with Map Viewer Classic or Web AppBuilder. These symbols will work with Map Viewer which depending on the enterprise version may have been a beta version. When the symbols are used in maps older applications like Map Viewer Classic, Web AppBuilder which rely on simple picture mark while the new symbols are based off a CIM spec which exposes the vector symbol styling to the Map Viewer.
https://www.esri.com/arcgis-blog/products/arcgis-enterprise/announcements/map-viewer-beta-in-arcgis-enterprise-10-8-1/
Hi I was able to publish and could see the custom symbol in map viewerAny chances get it work in map viewer classic so that i can use in different apps in dashboard and experience builderThanks
These symbols are not supported in Map Viewer Classic and Web AppBuilder. Dashboards, Experience Builder and Instant Apps will support web maps authored with these symbols.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.