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

Commit

Permalink
release v3.3.0 (#1326)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Erb authored Mar 20, 2020
1 parent dae3498 commit e5392a3
Show file tree
Hide file tree
Showing 82 changed files with 15,123 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v3.3.0

* Changes default map styles (e.g. `mapbox.streets`) to no-longer load from Legacy Maps API by default [#1317](https://github.com/mapbox/mapbox.js/pull/1317)
* Updated relevant dependencies to `@mapbox` namespace [#1318](https://github.com/mapbox/mapbox.js/pull/1318)
* Fix issue where logo would not appear for Mapbox layers added after map init [#1324](https://github.com/mapbox/mapbox.js/pull/1324)

## v3.2.1

* Fix HTTP mode for styleLayer
Expand Down
2 changes: 1 addition & 1 deletion DEPLOYING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ rebuild it.
# git tag & npm package

git tag v1.your.version -s -m "Version v1.your.version, with xxx changes"
git push origin mb-pages --tags
git push origin publisher-production --tags
npm publish

# deploying to the cdn
Expand Down
2 changes: 1 addition & 1 deletion _config.publisher-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env: production
source: docs
permalink: /:categories/:title/
baseurl: /mapbox.js
mapboxjs: v3.2.1
mapboxjs: v3.3.0
defaultid: 'mapbox.streets'
exclude: [dist]
future: true
Expand Down
2 changes: 1 addition & 1 deletion _config.publisher-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env: staging
source: docs
permalink: /:categories/:title/
baseurl: /mapbox.js
mapboxjs: v3.2.1
mapboxjs: v3.3.0
defaultid: 'mapbox.streets'
exclude: [dist]
future: true
Expand Down
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env: staging
source: docs
permalink: /:categories/:title/
baseurl: /mapbox.js
mapboxjs: v3.2.1
mapboxjs: v3.3.0
mapboxjsbase: /mapbox.js/dist
defaultid: 'mapbox.streets'
future: true
Expand Down
7,164 changes: 7,164 additions & 0 deletions docs/_posts/api/0200-01-01-v3.3.0-all.html

Large diffs are not rendered by default.

286 changes: 286 additions & 0 deletions docs/_posts/api/0200-01-01-v3.3.0.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,286 @@
---
layout: api
title: "v3.3.0 JavaScript Library: All"
categories: api
version: v3.3.0
description: Build anything with Mapbox.js v3.3.0, a library for fast & interactive maps.
permalink: /api/v3.3.0/
tags: v3.3.0
splash: true
navigation:
- title: "Map Object"
id: map-object
nav:
- title: "L.mapbox.map"
id: l-mapbox-map
nav:
- title: "map.getTileJSON"
id: map-gettilejson
nav:
- title: "Layers"
id: layers
nav:
- title: "L.mapbox.tileLayer"
id: l-mapbox-tilelayer
nav:
- title: "tileLayer.getTileJSON"
id: tilelayer-gettilejson
nav:
- title: "tileLayer.setFormat"
id: tilelayer-setformat
nav:
- title: "L.mapbox.gridLayer"
id: l-mapbox-gridlayer
nav:
- title: "gridLayer.on"
id: gridlayer-on
nav:
- title: "gridLayer.getTileJSON"
id: gridlayer-gettilejson
nav:
- title: "gridLayer.getData"
id: gridlayer-getdata
nav:
- title: "L.mapbox.featureLayer"
id: l-mapbox-featurelayer
nav:
- title: "featureLayer.loadURL"
id: featurelayer-loadurl
nav:
- title: "featureLayer.loadID"
id: featurelayer-loadid
nav:
- title: "featureLayer.setFilter"
id: featurelayer-setfilter
nav:
- title: "featureLayer.getFilter"
id: featurelayer-getfilter
nav:
- title: "featureLayer.setGeoJSON"
id: featurelayer-setgeojson
nav:
- title: "featureLayer.getGeoJSON"
id: featurelayer-getgeojson
nav:
- title: "L.mapbox.styleLayer"
id: l-mapbox-stylelayer
nav:
- title: "Geocoding"
id: geocoding
nav:
- title: "L.mapbox.geocoder"
id: l-mapbox-geocoder
nav:
- title: "geocoder.query"
id: geocoder-query
nav:
- title: "geocoder.reverseQuery"
id: geocoder-reversequery
nav:
- title: "Controls"
id: controls
nav:
- title: "L.mapbox.legendControl"
id: l-mapbox-legendcontrol
nav:
- title: "legendControl.addLegend"
id: legendcontrol-addlegend
nav:
- title: "legendControl.removeLegend"
id: legendcontrol-removelegend
nav:
- title: "L.mapbox.gridControl"
id: l-mapbox-gridcontrol
nav:
- title: "gridControl.hide"
id: gridcontrol-hide
nav:
- title: "gridControl.setTemplate"
id: gridcontrol-settemplate
nav:
- title: "L.mapbox.geocoderControl"
id: l-mapbox-geocodercontrol
nav:
- title: "geocoderControl.setURL"
id: geocodercontrol-seturl
nav:
- title: "geocoderControl.setID"
id: geocodercontrol-setid
nav:
- title: "geocoderControl.setTileJSON"
id: geocodercontrol-settilejson
nav:
- title: "geocoderControl.on"
id: geocodercontrol-on
nav:
- title: "L.mapbox.shareControl"
id: l-mapbox-sharecontrol
nav:
- title: "Markers"
id: markers
nav:
- title: "L.mapbox.marker.icon"
id: l-mapbox-marker-icon
nav:
- title: "L.mapbox.marker.style"
id: l-mapbox-marker-style
nav:
- title: "Simplestyle"
id: simplestyle
nav:
- title: "L.mapbox.simplestyle.style"
id: l-mapbox-simplestyle-style
nav:
- title: "Utility"
id: utility
nav:
- title: "L.mapbox.sanitize"
id: l-mapbox-sanitize
nav:
- title: "L.mapbox.template"
id: l-mapbox-template
nav:
- title: "Configuration"
id: configuration
nav:
- title: "L.mapbox.accessToken"
id: l-mapbox-accesstoken
nav:
- title: "L.mapbox.config.FORCE_HTTPS"
id: l-mapbox-config-force_https
nav:
- title: "L.mapbox.config.HTTP_URL"
id: l-mapbox-config-http_url
nav:
- title: "L.mapbox.config.HTTPS_URL"
id: l-mapbox-config-https_url
nav:
- title: "Guides"
id: guides
nav:
- title: "API access tokens"
id: api-access-tokens
nav:
- title: "Upgrading from Mapbox.js v1"
id: upgrading-from-mapbox-js-v1
nav:
- title: "Mobile"
id: mobile
nav:
- title: "Viewport"
id: viewport
nav:
- title: "Scrolling"
id: scrolling
nav:
- title: "Theming"
id: theming
nav:
- title: "Dark theme"
id: dark-theme
nav:
- title: "Standalone"
id: standalone
nav:
- title: Leaflet
nav:
- title: L.Map
id: l-map-class
- title: L.Marker
id: l-marker
- title: L.Popup
id: l-popup
- title: L.TileLayer
id: l-tilelayer
- title: L.TileLayer.WMS
id: l-tilelayer-wms
- title: L.TileLayer.Canvas
id: l-tilelayer-canvas
- title: L.ImageOverlay
id: l-imageoverlay
- title: L.Path
id: l-path
- title: L.Polyline
id: l-polyline
- title: L.MultiPolyline
id: l-multipolyline
- title: L.Polygon
id: l-polygon
- title: L.MultiPolygon
id: l-multipolygon
- title: L.Rectangle
id: l-rectangle
- title: L.Circle
id: l-circle
- title: L.CircleMarker
id: l-circlemarker
- title: L.LayerGroup
id: l-layergroup
- title: L.FeatureGroup
id: l-featuregroup
- title: L.GeoJson
id: l-geojson
- title: L.LatLng
id: l-latlng
- title: L.LatLngBounds
id: l-latlngbounds
- title: L.Point
id: l-point
- title: L.Bounds
id: l-bounds
- title: L.Icon
id: l-icon
- title: L.DivIcon
id: l-divicon
- title: L.Control
id: l-control
- title: L.Control.zoom
id: l-control-zoom
- title: L.Control.Attribution
id: l-control-attribution
- title: L.Control.Layers
id: l-control-layers
- title: L.Control.Scale
id: l-control-scale
- title: Events methods
id: l-events
- title: Event objects
id: l-event-objects
- title: L.Class
id: l-class
- title: L.Browser
id: l-browser
- title: L.Util
id: l-util
- title: L.Transformation
id: l-transformation
- title: L.LineUtil
id: l-lineutil
- title: L.PolyUtil
id: l-polyutil
- title: L.DomEvent
id: l-domevent
- title: L.DomUtil
id: l-domutil
- title: L.PosAnimation
id: l-posanimation
- title: L.Draggable
id: l-draggable
- title: L.IHandler
id: l-ihandler
- title: L.ILayer
id: l-ilayer
- title: L.IControl
id: l-icontrol
- title: L.IProjection
id: l-iprojection
- title: L.ICRS
id: l-icrs
- title: Global Switches
id: l-global
- title: L.noConflict
id: l-noconflict
- title: L.version
id: l-version
---
{% include api.introduction.html %}
18 changes: 18 additions & 0 deletions docs/_posts/api/v3.3.0/0200-01-01-api-access-tokens.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
layout: api
title: "v3.3.0 JavaScript Library: API access tokens"
categories: api
version: v3.3.0
permalink: /api/v3.3.0/api-access-tokens/
---
<h2 id="section-api-access-tokens">API access tokens</h2>
<p>Mapbox.js uses the Mapbox web services API, which requires an API access token. You must
supply an access token to Mapbox.js:</p>
<pre><code> L.mapbox.accessToken = &#39;&lt;your access token&gt;&#39;;</code></pre><p>To obtain an access token, sign in to Mapbox and visit the <a href="https://www.mapbox.com/account/apps/">Account Apps</a>
page. For Mapbox.js, a &quot;Public&quot; token (starting with &quot;pk&quot;) is required.</p>
<p>You may create multiple tokens and use different ones for different applications. If
necessary, you can use different tokens on the same page by using the <code>accessToken</code>
option when creating Mapbox.js objects. For example:</p>
<pre><code> var map = L.mapbox.map(&#39;map&#39;, &#39;mapbox.outdoors&#39;, {
accessToken: &#39;&lt;your access token&gt;&#39;
});</code></pre><p>For additional help, see <a href="https://www.mapbox.com/help/create-api-access-token/">&quot;How do I create an API access token?&quot;</a>.</p>
Loading

0 comments on commit e5392a3

Please sign in to comment.