-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Arcade Editor Sample #135
Conversation
yonabystedt
commented
Jan 21, 2025
- Adds a sample of using the Arcade Editor Webcomponent.
- Fixes the 'icons' sample to work with the latest webpack.
- Updates Web to 5.33
✅ Deploy Preview for vertigis-web-samples ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…ples into arcade.editor.sample
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, a few small things could be cleaned up.
// Log script change events | ||
onArcgisScriptChange={async (e) => { | ||
console.log("script:", e.detail); | ||
// console.log("outputType on script:", await arcadeEditorElt.getOutputType()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these console logs could be cleaned up
}); | ||
} | ||
|
||
protected override _getSerializableProperties(): PropertyDefs<ComponentModelProperties> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably can be removed.
protected async _executeArcadeEditorLoadData( | ||
args: HasFeatures | ||
): Promise<void> { | ||
const featureSet = new FeatureSet({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the arcadeeditor be initially hidden and then shown when we load data?