|
| 1 | +--- |
| 2 | +layout: api |
| 3 | +title: "v3.2.1 JavaScript Library: All" |
| 4 | +categories: api |
| 5 | +version: v3.2.1 |
| 6 | +description: Build anything with Mapbox.js v3.2.1, a library for fast & interactive maps. |
| 7 | +permalink: /api/v3.2.1/ |
| 8 | +tags: v3.2.1 |
| 9 | +splash: true |
| 10 | +navigation: |
| 11 | + - title: "Map Object" |
| 12 | + id: map-object |
| 13 | + nav: |
| 14 | + - title: "L.mapbox.map" |
| 15 | + id: l-mapbox-map |
| 16 | + nav: |
| 17 | + - title: "map.getTileJSON" |
| 18 | + id: map-gettilejson |
| 19 | + nav: |
| 20 | + - title: "Layers" |
| 21 | + id: layers |
| 22 | + nav: |
| 23 | + - title: "L.mapbox.tileLayer" |
| 24 | + id: l-mapbox-tilelayer |
| 25 | + nav: |
| 26 | + - title: "tileLayer.getTileJSON" |
| 27 | + id: tilelayer-gettilejson |
| 28 | + nav: |
| 29 | + - title: "tileLayer.setFormat" |
| 30 | + id: tilelayer-setformat |
| 31 | + nav: |
| 32 | + - title: "L.mapbox.gridLayer" |
| 33 | + id: l-mapbox-gridlayer |
| 34 | + nav: |
| 35 | + - title: "gridLayer.on" |
| 36 | + id: gridlayer-on |
| 37 | + nav: |
| 38 | + - title: "gridLayer.getTileJSON" |
| 39 | + id: gridlayer-gettilejson |
| 40 | + nav: |
| 41 | + - title: "gridLayer.getData" |
| 42 | + id: gridlayer-getdata |
| 43 | + nav: |
| 44 | + - title: "L.mapbox.featureLayer" |
| 45 | + id: l-mapbox-featurelayer |
| 46 | + nav: |
| 47 | + - title: "featureLayer.loadURL" |
| 48 | + id: featurelayer-loadurl |
| 49 | + nav: |
| 50 | + - title: "featureLayer.loadID" |
| 51 | + id: featurelayer-loadid |
| 52 | + nav: |
| 53 | + - title: "featureLayer.setFilter" |
| 54 | + id: featurelayer-setfilter |
| 55 | + nav: |
| 56 | + - title: "featureLayer.getFilter" |
| 57 | + id: featurelayer-getfilter |
| 58 | + nav: |
| 59 | + - title: "featureLayer.setGeoJSON" |
| 60 | + id: featurelayer-setgeojson |
| 61 | + nav: |
| 62 | + - title: "featureLayer.getGeoJSON" |
| 63 | + id: featurelayer-getgeojson |
| 64 | + nav: |
| 65 | + - title: "L.mapbox.styleLayer" |
| 66 | + id: l-mapbox-stylelayer |
| 67 | + nav: |
| 68 | + - title: "Geocoding" |
| 69 | + id: geocoding |
| 70 | + nav: |
| 71 | + - title: "L.mapbox.geocoder" |
| 72 | + id: l-mapbox-geocoder |
| 73 | + nav: |
| 74 | + - title: "geocoder.query" |
| 75 | + id: geocoder-query |
| 76 | + nav: |
| 77 | + - title: "geocoder.reverseQuery" |
| 78 | + id: geocoder-reversequery |
| 79 | + nav: |
| 80 | + - title: "Controls" |
| 81 | + id: controls |
| 82 | + nav: |
| 83 | + - title: "L.mapbox.legendControl" |
| 84 | + id: l-mapbox-legendcontrol |
| 85 | + nav: |
| 86 | + - title: "legendControl.addLegend" |
| 87 | + id: legendcontrol-addlegend |
| 88 | + nav: |
| 89 | + - title: "legendControl.removeLegend" |
| 90 | + id: legendcontrol-removelegend |
| 91 | + nav: |
| 92 | + - title: "L.mapbox.gridControl" |
| 93 | + id: l-mapbox-gridcontrol |
| 94 | + nav: |
| 95 | + - title: "gridControl.hide" |
| 96 | + id: gridcontrol-hide |
| 97 | + nav: |
| 98 | + - title: "gridControl.setTemplate" |
| 99 | + id: gridcontrol-settemplate |
| 100 | + nav: |
| 101 | + - title: "L.mapbox.geocoderControl" |
| 102 | + id: l-mapbox-geocodercontrol |
| 103 | + nav: |
| 104 | + - title: "geocoderControl.setURL" |
| 105 | + id: geocodercontrol-seturl |
| 106 | + nav: |
| 107 | + - title: "geocoderControl.setID" |
| 108 | + id: geocodercontrol-setid |
| 109 | + nav: |
| 110 | + - title: "geocoderControl.setTileJSON" |
| 111 | + id: geocodercontrol-settilejson |
| 112 | + nav: |
| 113 | + - title: "geocoderControl.on" |
| 114 | + id: geocodercontrol-on |
| 115 | + nav: |
| 116 | + - title: "L.mapbox.shareControl" |
| 117 | + id: l-mapbox-sharecontrol |
| 118 | + nav: |
| 119 | + - title: "Markers" |
| 120 | + id: markers |
| 121 | + nav: |
| 122 | + - title: "L.mapbox.marker.icon" |
| 123 | + id: l-mapbox-marker-icon |
| 124 | + nav: |
| 125 | + - title: "L.mapbox.marker.style" |
| 126 | + id: l-mapbox-marker-style |
| 127 | + nav: |
| 128 | + - title: "Simplestyle" |
| 129 | + id: simplestyle |
| 130 | + nav: |
| 131 | + - title: "L.mapbox.simplestyle.style" |
| 132 | + id: l-mapbox-simplestyle-style |
| 133 | + nav: |
| 134 | + - title: "Utility" |
| 135 | + id: utility |
| 136 | + nav: |
| 137 | + - title: "L.mapbox.sanitize" |
| 138 | + id: l-mapbox-sanitize |
| 139 | + nav: |
| 140 | + - title: "L.mapbox.template" |
| 141 | + id: l-mapbox-template |
| 142 | + nav: |
| 143 | + - title: "Configuration" |
| 144 | + id: configuration |
| 145 | + nav: |
| 146 | + - title: "L.mapbox.accessToken" |
| 147 | + id: l-mapbox-accesstoken |
| 148 | + nav: |
| 149 | + - title: "L.mapbox.config.FORCE_HTTPS" |
| 150 | + id: l-mapbox-config-force_https |
| 151 | + nav: |
| 152 | + - title: "L.mapbox.config.HTTP_URL" |
| 153 | + id: l-mapbox-config-http_url |
| 154 | + nav: |
| 155 | + - title: "L.mapbox.config.HTTPS_URL" |
| 156 | + id: l-mapbox-config-https_url |
| 157 | + nav: |
| 158 | + - title: "Guides" |
| 159 | + id: guides |
| 160 | + nav: |
| 161 | + - title: "API access tokens" |
| 162 | + id: api-access-tokens |
| 163 | + nav: |
| 164 | + - title: "Upgrading from Mapbox.js v1" |
| 165 | + id: upgrading-from-mapbox-js-v1 |
| 166 | + nav: |
| 167 | + - title: "Mobile" |
| 168 | + id: mobile |
| 169 | + nav: |
| 170 | + - title: "Viewport" |
| 171 | + id: viewport |
| 172 | + nav: |
| 173 | + - title: "Scrolling" |
| 174 | + id: scrolling |
| 175 | + nav: |
| 176 | + - title: "Theming" |
| 177 | + id: theming |
| 178 | + nav: |
| 179 | + - title: "Dark theme" |
| 180 | + id: dark-theme |
| 181 | + nav: |
| 182 | + - title: "Standalone" |
| 183 | + id: standalone |
| 184 | + nav: |
| 185 | + - title: Leaflet |
| 186 | + nav: |
| 187 | + - title: L.Map |
| 188 | + id: l-map-class |
| 189 | + - title: L.Marker |
| 190 | + id: l-marker |
| 191 | + - title: L.Popup |
| 192 | + id: l-popup |
| 193 | + - title: L.TileLayer |
| 194 | + id: l-tilelayer |
| 195 | + - title: L.TileLayer.WMS |
| 196 | + id: l-tilelayer-wms |
| 197 | + - title: L.TileLayer.Canvas |
| 198 | + id: l-tilelayer-canvas |
| 199 | + - title: L.ImageOverlay |
| 200 | + id: l-imageoverlay |
| 201 | + - title: L.Path |
| 202 | + id: l-path |
| 203 | + - title: L.Polyline |
| 204 | + id: l-polyline |
| 205 | + - title: L.MultiPolyline |
| 206 | + id: l-multipolyline |
| 207 | + - title: L.Polygon |
| 208 | + id: l-polygon |
| 209 | + - title: L.MultiPolygon |
| 210 | + id: l-multipolygon |
| 211 | + - title: L.Rectangle |
| 212 | + id: l-rectangle |
| 213 | + - title: L.Circle |
| 214 | + id: l-circle |
| 215 | + - title: L.CircleMarker |
| 216 | + id: l-circlemarker |
| 217 | + - title: L.LayerGroup |
| 218 | + id: l-layergroup |
| 219 | + - title: L.FeatureGroup |
| 220 | + id: l-featuregroup |
| 221 | + - title: L.GeoJson |
| 222 | + id: l-geojson |
| 223 | + - title: L.LatLng |
| 224 | + id: l-latlng |
| 225 | + - title: L.LatLngBounds |
| 226 | + id: l-latlngbounds |
| 227 | + - title: L.Point |
| 228 | + id: l-point |
| 229 | + - title: L.Bounds |
| 230 | + id: l-bounds |
| 231 | + - title: L.Icon |
| 232 | + id: l-icon |
| 233 | + - title: L.DivIcon |
| 234 | + id: l-divicon |
| 235 | + - title: L.Control |
| 236 | + id: l-control |
| 237 | + - title: L.Control.zoom |
| 238 | + id: l-control-zoom |
| 239 | + - title: L.Control.Attribution |
| 240 | + id: l-control-attribution |
| 241 | + - title: L.Control.Layers |
| 242 | + id: l-control-layers |
| 243 | + - title: L.Control.Scale |
| 244 | + id: l-control-scale |
| 245 | + - title: Events methods |
| 246 | + id: l-events |
| 247 | + - title: Event objects |
| 248 | + id: l-event-objects |
| 249 | + - title: L.Class |
| 250 | + id: l-class |
| 251 | + - title: L.Browser |
| 252 | + id: l-browser |
| 253 | + - title: L.Util |
| 254 | + id: l-util |
| 255 | + - title: L.Transformation |
| 256 | + id: l-transformation |
| 257 | + - title: L.LineUtil |
| 258 | + id: l-lineutil |
| 259 | + - title: L.PolyUtil |
| 260 | + id: l-polyutil |
| 261 | + - title: L.DomEvent |
| 262 | + id: l-domevent |
| 263 | + - title: L.DomUtil |
| 264 | + id: l-domutil |
| 265 | + - title: L.PosAnimation |
| 266 | + id: l-posanimation |
| 267 | + - title: L.Draggable |
| 268 | + id: l-draggable |
| 269 | + - title: L.IHandler |
| 270 | + id: l-ihandler |
| 271 | + - title: L.ILayer |
| 272 | + id: l-ilayer |
| 273 | + - title: L.IControl |
| 274 | + id: l-icontrol |
| 275 | + - title: L.IProjection |
| 276 | + id: l-iprojection |
| 277 | + - title: L.ICRS |
| 278 | + id: l-icrs |
| 279 | + - title: Global Switches |
| 280 | + id: l-global |
| 281 | + - title: L.noConflict |
| 282 | + id: l-noconflict |
| 283 | + - title: L.version |
| 284 | + id: l-version |
| 285 | +--- |
| 286 | +{% include api.introduction.html %} |
0 commit comments