Skip to content
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

"Active Tool" option not working #34

Closed
mlrgisonline opened this issue Dec 12, 2014 · 10 comments
Closed

"Active Tool" option not working #34

mlrgisonline opened this issue Dec 12, 2014 · 10 comments
Assignees

Comments

@mlrgisonline
Copy link

I have my active tool set to "None" and the "Measure" tool always pops up when the application is opened. If I set my active tool to "Layers" same thing happens, always starts with "Measure".

@kellyhutchins
Copy link
Member

I can't reproduce this one. Ran a few tests and the specified active tool is displayed. Here's an app that has been configured to none. http://www.arcgis.com/apps/Viewer/index.html?appid=5e919ab0706f4832995ab0635ba31ff0

Any additional details you can provide on how to reproduce this such as browser, version etc would be helpful.

@mlrgisonline
Copy link
Author

Thanks Kelly,
I'm opening the viewer with the latest version of Firefox 34.0.5. I just tested it out on Safari (iPad Air) and it's working fine in that browser. I had a co-worker test it in IExplorer (assuming latest version) and it's behaving improperly as described above. Hmmm. I wish I knew more about the code to troubleshoot this myself. I can't tell you how much I appreciate folks like you.

@jgravois
Copy link
Contributor

how exactly are you opening your app?
is it published in arcgisonline? previewed?
are you hosting it locally?

how are you setting your configuration?
appid parameters?
the defaults.json?

@mlrgisonline
Copy link
Author

Hi jgravois,

It's hosted on arcgisonline. I haven't made it local yet but plan to in the coming weeks. Here is the link to open it. http://goo.gl/mVL2AE

@jgravois
Copy link
Contributor

strange. the app json lists the appropriate empty string and the appropriate code is firing here.

can you try creating a brand new app (from the same webmap) to see if the behavior is reproducible please?

@mlrgisonline
Copy link
Author

I created a new viewer from the main map which can be accessed below. SO before I changed any of the tool display settings the Active Tools worked fine, i.e. didn't default to Measure. I then disabled some tools, set active tool to "None" and it worked fine. But when I turned off the Editor and Printing it went back to defaulting to the measure tool despite having "None" chosen as default tool.

http://mtlandreliance.maps.arcgis.com/apps/Viewer/index.html?appid=9691ab349f384b85848a2c1189dc254e

@mlrgisonline
Copy link
Author

I found a fix. Simply turn on the editor and editor toolbar and for whatever reason the measure tool is no longer popping up as default despite having Active Tool set to "none". Not sure why but don't care since the editor toolbar doesn't show up anyway.

@jgravois
Copy link
Contributor

i'm glad you've found a workaround and appreciate for your assistance pinpointing the specific reproducible test case. internally we will still need to pursue an actual 'fix'.

also, for those that don't know this, the editing tool does display in applications when an editable layer is included in the webmap.

@mlrgisonline
Copy link
Author

Thank you guys!

@jgravois jgravois reopened this Dec 12, 2014
@kellyhutchins kellyhutchins self-assigned this Dec 15, 2014
@kellyhutchins
Copy link
Member

Issue will be fixed in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants