I would like to use firefly symbols like described here What’s New in ArcGIS Online? Firefly! - ArcGIS Blog within a renderer in the ArcGIS API for JavaScript to render symbols from a point Feature Layer. Is this possible somehow?
Sure you can do this. I think the easiest way would be to symbolize your map using the ArcGIS Online Map Viewer then save the web map and look at the network traffic and view the web map json. You can then pull that info into your jsapi app. Here's an simple web map that uses the firefly symbol.
http://www.arcgis.com/sharing/rest/content/items/e2a892af27d94d6fb03e9d51b4f74d59/data?f=json
And here's a test app that uses the same symbology:
JS Bin - Collaborative JavaScript Debugging
What a great app, thank you. Love the way the colors are displayed
Here is a simple app that you can use to generate the firefly symbols that can be used with ArcGIS JS API:
https://vannizhang.github.io/firefly-symbols-generator/dist/
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.