mapbox/markers.js — pull request #44 by ansis (2012-08-28 21:17:37+00:00)
Title: Only wrap markers if they would be visible

Markers located off the map were being switched back and for between both sides, causing flickering near edges as reported in mapbox/mapbox.js#107

This only wraps the marker if it would be visible.

/cc @tmcw