-
Notifications
You must be signed in to change notification settings - Fork 27
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
Default profile to line feature #11
Comments
the sketched line geometry is passed along to be used to generate an elevation profile here. it'd be up to you to define a hardcoded line feature of your own instead. you can find an example of programmatically created graphics below. https://developers.arcgis.com/javascript/3/jssamples/toolbar_edit.html |
We should add an option that allows you to hide the draw tool to the configuration panel. I'll do that for the next release. For now you can paste the following css into the 'Custom Css' box on the Theme tab in the configuration panel to hide the draw tool. You can also setup the app so a line is selected by default using the options on the 'Custom Url Parameter' tab to define a url parm that lets you select the feature to show on startup. In this example I setup a url param called name and pointed it to the name field in the trails feature layer. Then I append the trail name I want to display to the app url like this: |
Thank you - that really helps. I dont suppose there is an easy way to add a logo to the app is there? |
@MarkCooperSDC you'd need to download and host the app locally and add a logo. Where would you want the logo to display? |
Hi
I don't know if this is the correct place to post this, but is there a way to get the elevation profile to be produced by default based on a line feature within the map and disable the ability to retrieve a profile based on a drawn line?
Thanks
Mark
The text was updated successfully, but these errors were encountered: