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

Comments

topham’s picture

Status: Active » Needs review
StatusFileSize
new568 bytes

Note: 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)

topham’s picture

Assigned: topham » Unassigned
antoniotorres’s picture

Works! Thanks!

ipwa’s picture

Status: Needs review » Reviewed & tested by the community

Works, this is awesome, please commit asap.

ipwa’s picture

Status: Reviewed & tested by the community » Fixed

Commited thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.