How to expand CoordinateConversion by default
Coming back to this topic, we anticipate making the `expanded` property public when we migrate the CoordinateConversion widget to component at the next release (October).
Thank you very much!I hope to add this kind of attribute in the official version in the future, because this kind of attribute is more practical
How can I make this default to xy
Just an FYI, when you see undocumented properties like that, we do not recommend using them in production apps, as they can change names or be removed at any time. However, if there is interest in this functionality, we will explore making it public at a future release.
Thank you very much!
const ccWidget = new CoordinateConversion({ view: view, _expanded: true, _inputVisible: true });
Thank you. If I want the default page to be input coordinates?
There doesn't appear to be a documented way, but adding an "_expanded" property to your constructor will presently do the trick:
const ccWidget = new CoordinateConversion({ view: view, _expanded: true });
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.