Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Possibilities #126

tmcw opened this Issue Oct 11, 2012 · 2 comments


None yet
3 participants

tmcw commented Oct 11, 2012

If we don't have enough time/control/luck to make modestmaps a success, possibly we should just port, to Leaflet.

This is just a thought-dump, internet people don't jump on this.

Work required

  • Rewrite leaflet inertial panning to be better
  • Rewrite easey
  • Rewrite all controls
  • Rewrite markers.js, possibly the core api :/
  • Redocument everything
  • Rewrite all examples
  • Break 0.x compatibility
  • Figure out maintainership
  • Decide path for vector-styling future, degree of api-wrapping


  • Everyone has heard of Leaflet
  • Immediate access to lots of plugins
  • Can finally say we support vector features (though through a not-perfect api)
  • Reduced development/maintenance time of the core, especially in regards to browser upkeep.


  • All MM apis break. Code breakage would be massive.
  • Less direct control over core
  • Less-cool coding style (openlayersy)
  • Unclear that stuff like the markers API could be efficiently supported here without a full rewrite of the Leaflet API
  • ol3 or d3 could be the 'next platform' anyway, and would be 'yet another switch'
  • Some of these rewrites internal to Leaflet might be costly, especially stuff like inertial panning
  • Leaflet is bigger than MM and we'd be back to the 'custom build scenario' in which some users really really want the full version even though we don't want to serve it all the time.

/cc @ansis @yhahn @tristen


yhahn commented Oct 11, 2012


@tmcw tmcw closed this Apr 4, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment