mapbox / mapbox.js

Mapbox JavaScript API, a Leaflet Plugin
mapbox.com/mapbox.js/
Other
1.92k stars 386 forks source link

mapbox logo doesn't show when using L.mapbox.styleLayer #1227

Open andrewharvey opened 7 years ago

andrewharvey commented 7 years ago

Creating a map with:

var map = L.mapbox.map('map', '', { zoomControl: false })
    .setView([40, -74.50], 9);
L.mapbox.styleLayer("mapbox://styles/mapbox/streets-v9").addTo(map);

doesn't show the mapbox_logo even when the tilesets for the style have mapbox_logo: true

This is the approach used by https://www.mapbox.com/api-documentation/#embed-a-style which run's into this bug when falling back to mapbox.js.

ljbade commented 6 years ago

I have this this issue too.

theel0ja commented 6 years ago

I have also this issue.