I'm looking for a JavaScript-based tool for displaying draggable, zoomable maps. It has to have the following features:

  • Can add markers, labels, balloons (a la Google maps)
  • Must be scriptable after creation (so I can add or update content on the fly)
  • must work offline
  • must scale to the browser size (specifically, it must be mobile friendly)

Ideally, pure JavaScript or based on the jQuery framework. I'd rather not have to have competing frameworks on a single page.

  • Must work offline... this means you want to add the maps as images and you are looking for a script just to pan and zoom?
    – Osvaldo
    Dec 1, 2011 at 21:00
  • Right, but also things like markers and popups. Dec 2, 2011 at 4:17

1 Answer 1


Looks like OpenLayers does what I want. I'll update this answer if I run into problems with it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.