- Fixes deprecation warnings for maps used with Mapbox Studio Classic styles #1329
- Fixes TypeError
t.getTileJSON is not a function
#1329
- Changes default map styles (e.g.
mapbox.streets
) to no-longer load from Legacy Maps API by default #1317 - Updated relevant dependencies to
@mapbox
namespace #1318 - Fix issue where logo would not appear for Mapbox layers added after map init #1324
- Fix HTTP mode for styleLayer
- Changes
FORCE_HTTPS
option totrue
by default. - Updates the Mapbox logo.
- Upgrades Leaflet to v1.4.0.
- Removes deprecation warnings in the console about
L.Mixin.Events
. - Removes Bower support.
- Adds the built files to the NPM package.
- Revises feedback link from mapbox.com/map-feedback/ to mapbox.com/feedback/
- replaces Mapbox watermark with new Mapbox logo
- Upgrades Leaflet dependency to v1.0.2
This release is not recommended: please use v3.0.1 or newer instead
- Upgrades Leaflet dependency to v1.0.1
- Removes the deprecated
InfoControl
class.
- Adds
autocomplete
andcountry
options to theL.mapbox.geocoder
andL.mapbox.geocoderControl
interfaces. These let you narrow down searched countries and enable more precise searches if you have precise input. - Adds an informative error if you try to use
L.mapbox.tileLayer
with a new style URL which will tell you to useL.mapbox.styleLayer
instead. - Adds a
notfound
event to thegeocoderControl
interface to allow applications to listen for unsuccessful searches. - Re-compressed control PNGs for smaller size
- Documentation improvements
- Add
L.mapbox.styleLayer
with support for loading tiles from a style. - No longer set invalid
access_token
querystring argument whenconfig.REQUIRE_ACCESS_TOKEN
is false. - Upgrade to [email protected].
- Sanitize TileJSON for
L.mapbox.shareControl
- Updates to Leaflet 0.7.7.
- Upgrades Mapbox Geocoding to v5
- Updates to Leaflet 0.7.5, fixing a performance regression in tile loading
rooted in an upstream bug in Google Chrome's handling of
transitionend
events.
- Fix regression in
L.mapbox.geocoderControl
(#1031) - Passing
{proximity: true}
toL.mapbox.geocoder
constructor is no longer required to use the proximity feature (#1032)
- Added
proximity
option toL.mapbox.geocoderControl
with a default value of true. This changes the default behavior of the geocoder control, yielding better results by prioritizing matches closer to the current viewport. - Added
proximity
capability toL.mapbox.geocoder.query
, by replacing the first string/array parameter with an object parameter with membersquery
andproximity
, withproximity
being aL.LatLng
instance. - Switched from jshint to eslint for code style checking
- Now exports
L
object for module loaders like browserify, webpack, jspm, and others.
- Prevent
L.circle
andL.circleMarker
from being errantly restyled by simplestyle properties in L.mapbox.featureLayer.
L.mapbox.sanitize
completely removes<iframe>
elements instead of treating them like CDATA-containing tags. Updates sanitize-caja dependency to 0.1.3.
- Sanitize TileJSON-provided attribution
- Fix @2x suffix replacement when tiles array contains
.jpg
extension
- Display the Mapbox logo when mapbox_logo is present in tileJSON
- Update documentation for geocoder
- Add leaflet-oldie to CSS for IE8
- No significant changes
- Trigger a
found
event when autocomplete is enabled for L.mapbox.geocoderControl. - Fix icon rendering in IE8
- Fix empty string marker-symbol value
- Fix integer 0 marker-symbol value (#879)
- Fix share URLs (#877)
- Introduces an
autocomplete
option that dynamically displays results from geocoding (#868) - Easier usage for applications on
file://
URLs, like PhoneGap (#866) L.mapbox.map
will now absorb options forL.Map
after initialization (#829)- Added
popupOptions
to control internalbindPopup
specifics forfeatureLayer
instances (#862)
- Be very cautious about global access to console (#838)
- Fix error when geocoder returns 0 results (#817)
- Fix API token doc URL (#834)
- Adapt to v4 geocoder response format
- A Mapbox API token is now required
- Move source files into src (#719)
- Use v4 API
- Drop jsonp -> json demangling
- Drop markerLayer -> featureLayer alias
- Fix grid math for negative longitudes (#737)
- Hard-force request protocol in certain situations (#795)
- Use XMLHttpRequest rather than XDomainRequest on IE10
- Replace JSON3 with native JSON.parse (#345)
- Use retina tiles when available by default (#766)
- Update to Leaflet 0.7.3
- Adds support for bulk geocoding in the L.mapbox.geocoder API
- Adds IE8 vector layer support with VML
- No longer uses
._createPane
internally - CSS improvements
- Exposes non-magic constructors like
L.mapbox.TileLayer
- No longer requires
embed
property from TileJSON - Fix Geocoder results position when controls are positioned to the right or bottom of a map.
- AttributionControl is now default on the map. infoControl may be added as an option.
- Improve this map link now updates it's coordinates on the AttributionControl.
- Removes
editLink
option forL.mapbox.infoControl
- Recognizes and updates
Improve this Map
link inL.mapbox.infoControl
- Improved documentation
- Improved popup styles
- Support for point results from the geocoder in
L.mapbox.geocoderControl
- Adds
select
andautoselect
events to the geocoderControl to allow for finer-tuned listening for user actions around geocoding. - Improved documentation
- Updated to Leaflet 0.7.2
- Added support for simplestyle-spec 1.1.0, with Polygon and LineString featuretype support.
L.mapbox.markerLayer
is nowL.mapbox.featureLayer
. An alias from the former to the latter is in place and will be removed atv2.0.0
.
- Updated to Leaflet 0.7.1
- Improved performance of adding
markerLayer
. #595 - Added
max-width
to the legend. #592 - Started maintaining a FAQ.
- Adjusted infoControls default position to the bottom right.
- New hover style on map controls.
- Fix bug setGeoJSON should return
this
#586
- Updates to Leaflet 0.7
- Fixes shareControl & design bugs #550 #547 #549 #501 #551
- First release of JS.md
- Fix documentation bugs #562
- Enforce JSHint validity with Travis
- Updated attribution control and edit on OSM functionality #485
- Address overrides to leaflet.css when mapbox.standalone.css is used.
- Fix Geocoder container results when the
dark
theme is used.
- Consistify colors in the stylesheet
- Use the border-box model throughout
- Consistify Leaflet controls and ui
- Sprite icons #364
- Contain font sizes to the highest level and avoid defining specific cases so they may be overridden more easily
- Removed IE stylesheet. Fix up cases where this is needed or write in changes to a browser section at the bottom of the stylesheet.
- Remove duplicate max-width #501
- Add pinterest share button
- Rewrite share modal to use
_.createPane
- Fix event binding #514
- Update to Leaflet v0.6.4
- Simpler support for retina displays #507
gridControl
wraps coordinates so world copies also get interaction #510- Documentation improvements #412 #495
- Fix share control toggling #471
- Fix marker race condition #481
- Support
keepOpen
option forgeocoderControl
#497 - Fix illegal character in style db335
- Fix markerLayer bug with popups #465
- Test location formatter #458
- Icon improvements #466
- Informative geocoder error #402
- Other style tweaks and improvements
- Redesigned geocoder control #449
- Rewritten share control #448
- Touch fallback for grid control #441
- Location formatter for grid control #335
- Custom url option for share control #451
- Updated Leaflet dependency to v0.6.2
- Added L.mapbox.sanitize and L.mapbox.template
- Fix event removal in grid control (#440)
- Updated Leaflet dependency to v0.6.1
- New standalone Mapbox.js without bundled Leaflet dependency
- Simpler SSL Support (#428)
- Share Control (#432)
- Documentation fixes
- Fix calculation of mouse Y position (#411)
- Preserve manually-set marker layer GeoJSON (#394)
- Fix calculation of tooltip position on fixed-width layouts (#383)
- L.mapbox.gridControl now avoids showing empty tooltips (fixes #392)
- Ensure new tile layers have the correct z-index (#388)
- Fixed click behavior of movable tooltips (#382)
- Improve how L.mapbox.gridControl manages the template (#381, #384)
- Sanitization no longer strips http URLs (#378)
- Fix L.mapbox.addLayer for layers that don't support events (#372)
- L.mapbox.setGeoJSON now removes existing layers (#369)
- L.mapbox.tileLayer now handles negative tile coordinates
- Update Leaflet, includes fixes for wrapping bugs
- Fix for use with RequireJS present
- Fix for "SCRIPT5: Access is denied" issue in IE8/9
- Fix for default image path
This is a breaking release that should be treated as a clean rewrite of Mapbox.js. Existing code that uses Mapbox v0.6.x will need to be rewritten.
Consult documentation for the new API.
- Fix for JSONP issues in IE9 and IE10 in upstream libraries
- Fix bug in
layer.disable
andlayer.enable
when layer not attached to a map - Fix bug where disabling a layer didn't update compositing
- Automatic compositing now checks that a layer is hosted by Mapbox hosting
- Fix dragging and zooming on Android
- Fix touch interaction in Wax
- Re-add max-width to legend
- Marker tooltips now stop mousedown/touchstart events
- Add API for checking if map is fullscreen
- Fix bug where
layer.tilejson
could overwrite a composited provider - Fix bug where layer compositing would make unecessary tilejson requests
- Adds backwards-compatibility for Wax CSS classes for existing maps.
- Expands markers API with 0.14.3
mapbox.interaction()
now automatically includes location handling as well.
map.auto
now adds legend and attribution, if available in tilejsonmap.setPanLimits
now sorts locations internally, if given locations- Documentation improvements
- Fix
layer.refresh
callback - Update ModestMaps, Wax, markers.js, easey
ui.refresh
only adds enabled layers to legend and attributionmapbox.auto
doesn't return opts in an array if there is only one- can now peacefully coexist with require.js
map.addLayer
no longer uses addTileLayer for tile layers- Update ModestMaps to 3.3.4 fixing clipping issue in swipe example
- Default zoom range is now 0 - 17
- Update easey to 2.0.2 with
easey.optimal()
bugfix
- Updated ModestMaps to 3.3.3 fixing problem with empty gif and hiding parent tiles
- Add automatic support for Mapbox hosting composting
- Update Wax to 7.0.0dev7
- New api for
mapbox.ui
- Name layers using IDs instead of names
- Remove
mapbox.provider
- Add callbacks to async layer functions
mapbox.auto
now takes an optional callback and calls it withmap, augmented tilejson
- Fixes various map issues in the Modest Maps wrapping of
mapbox.map
- Update Modest Maps to 3.3.1
- Update Wax to dev2
- Do not proxy
mapbox.markers
call anymore
- Update markers.js to bleeding-edge versions.
- mapbox.load now adds
.thumbnail
to its result
- Calls the callback to
mapbox.auto()
with map, options instead of just map.
- Adds
.center()
.zoom()
and.centerzoom()
with easing parameters - Supports bare ids for the
mapbox.load()
function.