Spent the last day or so cooking up a quick demo for our marketing guys. You can check it out here: http://65.101.234.201/mac/
It’s pretty basic – it shows GPS points and photos from our mobile asset collection vehicle.
The demo is a small data set, but the points are in SQL 2008. They are clustered on the fly, and sent to the browser. As we add more data into this, I suspect that we will render a roads layer as tiles, and then add click handlers to the map which will allow a user to select a road segment, which will then go and get the points. We may also look at thinning out the points a bit more – partially so there is less data send to the browser, and partly because few users need to see every single photo.
The popup shows the two camera views as small thumbnails, with Next/Prev buttons to view… drum roll… the next/previous photos.
If you click on a photo in the pop-up it will display a larger set of images in a YUI panel. Again with the next/prev.
In the other SQL 2008 stuff I’ve done, I used stored procs to get the data, but this time I opted for dynamic sql, and it works quite nicely – also will make it easier to add more data into the mix (no need for additional sprocs)
I’ve been working with Dojo on another project, and I must say that the Yahoo User Interface library (aka YUI) is refreshingly simple – if you don’t need a whole ton of stuff, definitely look at YUI before resorting to Dojo or ExtJs.
Right now this site is clearly really limited but that’s the nature of “demos”. I’ll be adding more functionality to this site (additional data sets etc), and if anything interesting comes up I’ll post about it.