This issue is created so I can submit a patch to add the MapBox Streets layer. The patch is pretty simple and seems to be working fine in my limited amount of testing. (I thought there may be issues with API versions on the backend, but that doesn't seem to be the case).
This code was added to mapbox.layers.inc, function _mapbox_layers_info()
function _mapbox_layers_info() {
$info = array();
$info['mapbox_streets'] = array(
'name'=> t('MapBox Streets'),
'description' => t('MapBox Streets'),
'layername' => 'mapbox-streets',
'minzoom' => 0,
'maxzoom' => 16
);
Actual patch will be forthcoming
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | _mapbox-Added MapBox Streets Preset-1466468-0.patch | 568 bytes | topham |
Comments
Comment #1
topham commentedNote: This patch was done against 7.x-2.x as remotes/origin/master doesn't seem to include the mapbox.layers.inc file.
(Obviously this patch is not strictly necessary, as you can manually configure a layer, but I expect it'll help some people out)
Comment #2
topham commentedComment #3
antoniotorres commentedWorks! Thanks!
Comment #4
ipwa commentedWorks, this is awesome, please commit asap.
Comment #5
ipwa commentedCommited thanks!