Friday, 26 November 2010 01:15
Written by Mike Lee
SpryMap is a super lightweight (2.8 KB), dependency free Javascript widget that turns any HTML element into a Google Maps-like click and drag window.
Let’s look more in depth at the changes made:
- Removed the jQuery dependency – Sure, I know, lots of people love it, but the fact is we sometimes sacrifice a bit of performance for convenience when using jQuery. Considering that the things for which I plan to use SpryMap are core page features, it’s important to me that it’s ultra-quick and always responsive .
- Added features - When using this script, you’re given full control over how you want the map to act. What coordinates do you want it to start at? Do you want it to animate to a stop, or stop immediately when the user releases the mouse? Do you want the dragging to stop when an edge is hit? Would you like soup or salad with that? SpryMap aims to give you full control over how it acts.
- Gave it an easy to use interface - No, really, it’s pretty darn easy.
homepage
http://candrews.net/blog/
License: Creative Commons License
Add comment
Images | Gallery -
Others