The documentation I found, at http://mapbox.com/documentation/using-mapbox-tiles-drupal, states that:

The MapBox module for Drupal makes new map types available to the GMap module. Install the module and MapBox map types will appear on the GMap settings page. These map types can be used throughout your site just like the default map types from Google.

When I install the gmap and the mapbox modules, it is indeed possible to activate mapbox tile types, but they all generate a grey box, not map info. A step-by-step guide or a link to more documentation might clarify this for newbies to mapbox like me. Thanks!

Albert.

Comments

DerTobi75’s picture

Same here ;( I always get a grey box instead of a DC Nightvision Map!

Regards,

Tobi

sreynen’s picture

I'm getting the same thing on a location.module location chooser map, with a JS error "TypeError: Result of expression 'c' [undefined] is not an object" on line 600 of http://maps.gstatic.com/intl/en_us/mapfiles/193c/maps2.api/main.js

It's pretty much impossible to tell what's going on with that minimized JS, but I'm guessing the problem is that this map has no tile set selector.

sreynen’s picture

Turns out my issue had nothing to do with Mapbox. In hindsight, I should have known that gstatic.com is a Google server.

tmcw’s picture

So, has this been resolved on your side? There is a chance that the MapBox module's input is causing a problem upstream in the Google Maps libraries.

sreynen’s picture

I think the problem in my case was just that the Google map was using a live site key on a dev domain. Again, nothing to do with Mapbox. Others may have different causes for this issue.

ipwa’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

6.x and 7.x branches no longer supported