Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Latest commit

 

History

History
373 lines (261 loc) · 11.9 KB

CHANGELOG.md

File metadata and controls

373 lines (261 loc) · 11.9 KB

v3.0.0

  • Upgrades Leaflet dependency to v1.0.1
  • Removes the deprecated InfoControl class.

v2.4.0

  • Adds autocomplete and country options to the L.mapbox.geocoder and L.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 use L.mapbox.styleLayer instead.
  • Adds a notfound event to the geocoderControl interface to allow applications to listen for unsuccessful searches.
  • Re-compressed control PNGs for smaller size
  • Documentation improvements

v2.3.0

  • Add L.mapbox.styleLayer with support for loading tiles from a style.
  • No longer set invalid access_token querystring argument when config.REQUIRE_ACCESS_TOKEN is false.
  • Upgrade to mustache@2.2.1.

v2.2.4

  • Sanitize TileJSON for L.mapbox.shareControl

v2.2.3

  • Updates to Leaflet 0.7.7.
  • Upgrades Mapbox Geocoding to v5

v2.2.2

  • 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.

v2.2.1

  • Fix regression in L.mapbox.geocoderControl (#1031)
  • Passing {proximity: true} to L.mapbox.geocoder constructor is no longer required to use the proximity feature (#1032)

v2.2.0

  • Added proximity option to L.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 to L.mapbox.geocoder.query, by replacing the first string/array parameter with an object parameter with members query and proximity, with proximity being a L.LatLng instance.
  • Switched from jshint to eslint for code style checking
  • Now exports L object for module loaders like browserify, webpack, jspm, and others.

v2.1.9

  • Prevent L.circle and L.circleMarker from being errantly restyled by simplestyle properties in L.mapbox.featureLayer.

v2.1.8

  • L.mapbox.sanitize completely removes <iframe> elements instead of treating them like CDATA-containing tags. Updates sanitize-caja dependency to 0.1.3.

v2.1.7

  • Sanitize TileJSON-provided attribution

v2.1.6

  • Fix @2x suffix replacement when tiles array contains .jpg extension

v2.1.5

  • Display the Mapbox logo when mapbox_logo is present in tileJSON
  • Update documentation for geocoder
  • Add leaflet-oldie to CSS for IE8

v2.1.4

  • No significant changes

v2.1.3

  • Trigger a found event when autocomplete is enabled for L.mapbox.geocoderControl.
  • Fix icon rendering in IE8

v2.1.2

  • Fix empty string marker-symbol value

v2.1.1

  • Fix integer 0 marker-symbol value (#879)
  • Fix share URLs (#877)

v2.1.0

  • 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 for L.Map after initialization (#829)
  • Added popupOptions to control internal bindPopup specifics for featureLayer instances (#862)

v2.0.1

  • Be very cautious about global access to console (#838)
  • Fix error when geocoder returns 0 results (#817)
  • Fix API token doc URL (#834)

v2.0.0

  • 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

v1.6.4

  • 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

v1.6.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.

v1.6.2

  • Removes editLink option for L.mapbox.infoControl
  • Recognizes and updates Improve this Map link in L.mapbox.infoControl
  • Improved documentation
  • Improved popup styles
  • Support for point results from the geocoder in L.mapbox.geocoderControl

v1.6.1

  • Adds select and autoselect events to the geocoderControl to allow for finer-tuned listening for user actions around geocoding.
  • Improved documentation
  • Updated to Leaflet 0.7.2

v1.6.0

  • Added support for simplestyle-spec 1.1.0, with Polygon and LineString featuretype support.
  • L.mapbox.markerLayer is now L.mapbox.featureLayer. An alias from the former to the latter is in place and will be removed at v2.0.0.

v1.5.2

  • Updated to Leaflet 0.7.1
  • Improved performance of adding markerLayer. #595
  • Added max-width to the legend. #592
  • Started maintaining a FAQ.

v1.5.1

  • Adjusted infoControls default position to the bottom right.
  • New hover style on map controls.
  • Fix bug setGeoJSON should return this #586

v1.5.0

v1.4.2

  • Address overrides to leaflet.css when mapbox.standalone.css is used.
  • Fix Geocoder container results when the dark theme is used.

v1.4.1

  • 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

v1.4.0

  • 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 for geocoderControl #497
  • Fix illegal character in style db335

v1.3.1

  • Fix markerLayer bug with popups #465
  • Test location formatter #458
  • Icon improvements #466
  • Informative geocoder error #402
  • Other style tweaks and improvements

v1.3.0

  • 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

v1.2.0

  • Updated Leaflet dependency to v0.6.2
  • Added L.mapbox.sanitize and L.mapbox.template
  • Fix event removal in grid control (#440)

v1.1.0

  • Updated Leaflet dependency to v0.6.1
  • New standalone Mapbox.js without bundled Leaflet dependency
  • Simpler SSL Support (#428)
  • Share Control (#432)

v1.0.4

  • Documentation fixes
  • Fix calculation of mouse Y position (#411)
  • Preserve manually-set marker layer GeoJSON (#394)

v1.0.3

  • 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

v1.0.2

  • Update Leaflet, includes fixes for wrapping bugs

v1.0.1

  • Fix for use with RequireJS present
  • Fix for "SCRIPT5: Access is denied" issue in IE8/9
  • Fix for default image path

v1.0.0

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.

v0.6.7

  • Fix for JSONP issues in IE9 and IE10 in upstream libraries
  • Fix bug in layer.disable and layer.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

v0.6.6

  • 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

v0.6.5

  • 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.

v0.6.4

  • map.auto now adds legend and attribution, if available in tilejson
  • map.setPanLimits now sorts locations internally, if given locations
  • Documentation improvements
  • Fix layer.refresh callback
  • Update ModestMaps, Wax, markers.js, easey

v0.6.3

  • ui.refresh only adds enabled layers to legend and attribution
  • mapbox.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

v0.6.2

  • Update easey to 2.0.2 with easey.optimal() bugfix

v0.6.1

  • Updated ModestMaps to 3.3.3 fixing problem with empty gif and hiding parent tiles

v0.6.0

  • 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

v0.5.5

  • mapbox.auto now takes an optional callback and calls it with map, augmented tilejson
  • Fixes various map issues in the Modest Maps wrapping of mapbox.map

v0.5.4

  • Update Modest Maps to 3.3.1

v0.5.2

  • Update Wax to dev2

v0.4.1

  • Do not proxy mapbox.markers call anymore

v0.4.0 and v0.3.0

  • Update markers.js to bleeding-edge versions.

v0.2.0

  • mapbox.load now adds .thumbnail to its result

v0.1.1

  • Calls the callback to mapbox.auto() with map, options instead of just map.

v0.1.0

  • Adds .center() .zoom() and .centerzoom() with easing parameters
  • Supports bare ids for the mapbox.load() function.