I needed to add a slider type zoom control into Virtual Earth, and since my project is already waist deep in Dojo, it only seemed fitting that I figure out how to use their slider control.
The Dojo framework is an open source client side javascript framework with some pretty nice UI components. You can see the slider here in the Book of Dojo.
Turns out that this is pretty simple to do:
Actually the only difficult thing here was divining how to get the slider value - the Book of Dojo is a great general starting point, and the API is too sparse to help out much. There is a Dojo Feature Explorer site that helps though.
You can see a live demo here: http://www.davebouwman.net/examples/vedojoslider.htm
Download the html page
Assuming anyone finds this sort of stuff useful (comment!), I'll post more of these simplified examples using Dojo and YUI with VE.
I'm Dave and this is my blog. I'm usually writing about .NET Software Development, ArcGIS, or Agile Practices, but other stuff does creep in from time to time. I hope you find something of use, and feel free to contact me if you have any questions. You can also check out my profile on LinkedIn
dojo.DTSAgile.com is our technology preview / demo site. As I and my team cook up cool things we post them here.
ArcDeveloper.net is a site that hosts a set of open source projects related to ArcGIS. This includes Tile Cache for .NET (TC4N) and Feature Server for .NET (FS4N). Come over and check it out!
Assembla is a free service that provides Subversion source control, wikis and work Tracking. The ArcDeveloper project is run from here. It rocks. Check them out today.
Agilistas is a LinkedIn group focused on discussing and promoting Agile practices. Everyone is welcome to join in the conversation as we evolve the process of creating software to make it more enjoyable for all involved.