Working Version of Nanomaps December 7th, 2010

In my previous post, I discussed a little project I started to create a super-small, no frills JavaScript map display library.  Well, it’s mostly working, with still a lot of things to do.  Specifically, here’s what it’s got:

  • Standard desktop gestures for panning and zooming a map (double click, scroll wheel, drag)
  • Standard touch gestures for panning and zooming (only tried on IOS 4.1 so far)
  • Talks to OSM tile servers by default (setup for MapQuest OSM tiles now)
  • Basic zooming to arbitrary resolution.  This still flickers and I know how to really get it right but I wanted to get the event bits in place before experimenting with the core rendering further

What it doesn’t have:

  • IE support.  I’ll add some of this in a separate module.
  • Any testing except on Firefox 3.6/Mac, Safari 5.0.2/Mac and iOS 4.1.
  • Any of the stuff you will find in a full-featured map display library.  This one is structured, however, to let you integrate it easily with your own DOM manipulation and I plan to add a canned jQuery plugin at some point.

The download size of the scripts is 5.1KB (post-GZIP).

So, still a work in progress, but there is a bit more working today than there was.



I’ve got my own reasons for wanting something like this, but drop me a line or watch the GitHub repo if you’re interested in seeing this evolve as well.

This entry was posted on Tuesday, December 7th, 2010 at 5:25 pm and is filed under geeky, nanomaps. You can follow any responses to this entry through the RSS 2.0 feed.You can leave a response, or trackback from your own site.

One Response

December 13th, 2010 at 8:02 am
L’actualité « géoloc » de ces derniers jours (mi-décembre 2010) Says:

[...] light pour afficher des cartes OSM – MapQuest Toutes les informations et démo sont ici et [...]

Leave a Reply