I have a functioning site which is nearly complete and I am trying to add the Measurement Tool: Measurement Widget | ArcGIS API for JavaScript
I am having some difficulty sorting out where I have gone wrong. Even though I am relatively new to the API I can usually sort these out, but not this time. Any suggestions would be appreciated. The HTML, JS and CSS are attached below.
Thanks,
Steve
Solved! Go to Solution.
Steve,
You had to issues with your requires and matching vars and some issue in the html with div tag not having closing div tags. I have comment all my changes.
I would recommend adding the measure dijit to your accordion pane. Do do this you would need to remove it from the current titlepane.
Steve,
You had to issues with your requires and matching vars and some issue in the html with div tag not having closing div tags. I have comment all my changes.
I would recommend adding the measure dijit to your accordion pane. Do do this you would need to remove it from the current titlepane.
Robert -
First of all, thank you for all the advice you have given me over the last two weeks. I am a graduate student in Geography and finishing up a project for an Online GIS class. Without your guidance, along with a few others here, my app would have been pretty basic. I was able to see the changes made in your version and I think I am ready to wrap the project up.
Do you use any specific type of editor which can detect some of those div and other mistakes? We use notepad++ in the lab but my primary laptop operates on Linux and I have not been able to get it.
Thanks again. If you are ever in Northern Colorado I will gladly buy you some beverages of your choice.
Steve
Steve,
I use a free IDE called Brackets, It works great with the interactive linting to show mistakes.