Select to view content in your preferred language

Is it possible to use the MIL2525 DictionaryStyle symbols within the JavaScript APIs?? (FeatureLayers, DynamicLayers)

1779
7
09-11-2019 01:04 PM
CenterlineMapping
Regular Contributor

We would like to use MIL2525 Military Symbol Styles in the JavaScript API 3.2x.  


Are these dictionaries supported in the JavaScript API?  We want to be able to change symbols in the application in real-time based on the data, so maybe every 2 seconds, check the data and code in the tables, and reapply symbols.  This way symbology doesn't have to be published and applied beforehand in a map service, but can be applied in the application dynamically.    

They seem to work in Runtime SDK and ArcPro but not sure if you could use them in JavaScript.

Military Symbology Styles | ArcGIS Solutions for Defense 

Thanks for any feedback, suggestions, and advice.

0 Kudos
7 Replies
by Anonymous User
Not applicable

DictionaryRenderer will be available in the upcoming release of 4.13 which is targeting early October.

CenterlineMapping
Regular Contributor

Thank you Fang Li !

0 Kudos
NorbertThoden
Frequent Contributor

Hi!

Can you provide a link, where (and maybe how) a) APP6-D and b) MIL2525D is available?

That would be very helpful to start

Thx in advance

0 Kudos
CenterlineMapping
Regular Contributor
0 Kudos
NorbertThoden
Frequent Contributor

Thank you for pointing me to that lib.

But:

My question was related to the ESRI-Lib.

I would like to use the arcade-based ESRI solution, which i in beta now...

Can someone help???

0 Kudos
by Anonymous User
Not applicable

Hi Norbert,

Here are two sample apps that are using 2525C/2525D with JSAPI 4.13.

 

2525C: https://codepen.io/fangli88/pen/zYYmMXa

2525D: https://codepen.io/fangli88/pen/yLLRJOV

 

The styles are now only available on AGOL.

 

The military web styles are hosted here: https://www.arcgis.com/home/group.html?id=b903af78fd8244f1a73178b61a05fd55#overview

 

When ArcGIS Pro 2.5 is released, users will be able to publish the military styles to their online/on-premise portals.

NorbertThoden
Frequent Contributor

Hi Fang Li!

That look great.

We don´t have have an AGOL account yet. And i from my point of view we don´t need AGOL.

(Customer care is already involved to dig into the accounts created with our subscribtion...)

Maybe that data can taken offline/disconnected, which is our prefered environement.

Hopefull we will be able th get that working...

Thank you very much!

Norbert

0 Kudos