I just installed ip_geoloc, leaflet, leaflet_mapbox

On Mapbox:
Signed up (free plan)
Created just 1 map, selected on of the preset styles, the rest is all default (I even tried to uncheck the "Hide project from public API" under Advanced, with no luck).

On Drupal:
Created a View Content Pane with Display: "Map (Leaflet API, via IPGV&M)".
Went to /admin/config/services/leaflet-mapbox and put Map label and Map code from Mapbox, saved.
Selected the map in the View display settings, saved.
Placed the View content pane in my homepage through Panels.

Result:
Map is blank (grey), only the markers are shown.

Additional info:
Default Map style (without using Mapbox) is working.
Cleared caches multiple times.
On module page you advise to "Publish" the map, but I could not find a publish button on Mapbox website.

Using:
leaflet 7.x-1.1+14-dev
leaflet_mapbox 7.x-1.2
ip_geoloc 7.x-1.27

Comments

kopeboy’s picture

Issue summary: View changes
kopeboy’s picture

Issue summary: View changes
matsjacobsson’s picture

Hi, Having the same problem here.

It seems this module uses the version 3 of mapbox (all png points to that and gives not found error) but I don't think you can use that anymore? When login in to mapbox you are using the V4 API which seems to require a key. Maybe this is part of dev?

matsjacobsson’s picture

yannickoo’s picture

Status: Active » Closed (duplicate)
Related issues: +#2451645: API v4 with access token for map tiles

I can confirm the same behavior and yes this is fixed in the other issue :)