Closed (fixed)
Project:
Mapbox
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2012 at 14:05 UTC
Updated:
19 Feb 2013 at 13:50 UTC
Jump to comment: Most recent file
Hello,
It's about my last comment in #814220: Utilize CTools Export UI. (Comment 46)
Any help or idea is greatly appreciated.
Thanks.
Comments
Comment #1
richard moger commentedNot a full solution but got me out of the poo.
If you browse to your mapbox url (the one on the mapbox config page), you can then paste the json returned into the text box and save config way. You just need to remove the Grid wrapper so that it starts and ends with curly braces.
Hope this helps.
Rich
Comment #2
polHere's the patch for 7.x-2.x.
Comment #3
cesareaugusto commentedWhen will the patch be merged into at least the 7.x dev release?
Comment #4
polI don't know... I hope asap, I never had any news since September.
Comment #5
polUpdated patch.
Comment #6
cesareaugusto commentedI applied the #5 patch to the latest (today) dev, but still got the same broken image links error. Here's a screenshot.
Comment #7
polThat's weird ! I'll test it tonight.
Comment #8
cesareaugusto commentedThank you very much Pol! Tell me if you need any more information to reproduce it!
Comment #9
polNew patch, one line was missing, sorry !
Comment #10
cesareaugusto commentedAgain the very same error. The #9 patch didn't solve it. :(
Comment #11
polDelete and recreate the layer, it should work.
Comment #12
cesareaugusto commentedI disabled the module, uninstalled, then re-enabled it. But I still got the very same error. How should I delete and recreate it?
Comment #13
polCould you make sure that the table openlayers_layers is empty ?
Comment #14
polI've added support for MapBox layers in OpenLayers, this module is now obsolete.
http://drupalcode.org/project/openlayers.git/commit/7cc56a8
Comment #15
cesareaugusto commentedI just upgraded and tested the latest OL dev (the today jan 27th one). I can see MapBox layers but the broken URL issue is still here.
Comment #16
polDude,
I tested it, again and again and I have not any single problem, everything works.
Could you please send screenshots and or more explanations on how you do ?
Thanks.
Comment #17
cesareaugusto commentedI tried whatever I could immagine. But nothing. The error is still here. I tried to delete and recreate the map. Creat a new different map from scratch. But nothing. Mapbox layers seem not to work!
Attached a picture of the preview of one of my maps. I got broken url images error.
I don't know whether this information may help, but I am experiencing a similar problem with whatever layer but Google ones. When trying to enable Bing or Yahoo maps I got a blank map, no broken images url errors but a completely blank map. It seems that only Google Maps layers work.
I am using the latest dev (today) and constantly upgrade.
If you need any more information just tell me.
Comment #18
polHello,
I've integrated mapbox maps into OpenLayers, you do not need this module anymore.
Don't forget to delete the module files before using it in OpenLayers !
Happy mapping.
Comment #19
cesareaugusto commentedI know it is merged into OpenLayers itself. I turned off the MapBox module. Then completely uninstalled it from the DB. Last I deleted the MapBox module folder.
I attached the picture of the errore (I forgot to do it in my previous post)
Comment #20
polI'm sorry, then I don't know, I'm not able to reproduce the problem.
Comment #21
cesareaugusto commented@Pol: Which info should I look for to reproduce? I got a similar problem with all the other layers but Google. Whatever layer I choose it displays a blank map. Only Google Maps works.
Comment #22
cesareaugusto commentedBelow the code generated when exporting e.g. the MapBox Streets layer, perhaps it may help to understand the problem.
Comment #23
polThanks for the export.
However, it looks like the mapbox-streets tiles are no more available at MapBox, see: http://tiles.mapbox.com/mapbox/map/mapbox-streets
Can you try with another Mapbox map ?
Comment #24
cesareaugusto commentedI tried the MapBox World * layers, the all seem to work (Bing and Yahoo still don't, though it's another topic). But the MapBox World maps only show countries borders. I need a map with streets on.
I cloned the MapBox Streets layer and modified it to DC Brite layername (as seen from http://tiles.mapbox.com/mapbox/). I got the very same error. Here's the exported code:
Comment #25
polI've fixed a bug in the JS of MapBox and succeeded to display the DC-Bright map.
Could you retrieve the latest dev version and test please ?
Thanks a lot !
Comment #26
cesareaugusto commentedI'm trying to download the latest 7.x-2.x-dev from the projects page, but it dates 2013-Feb-02 (not today).
Comment #27
polAlways use Git please.
Comment #28
cesareaugusto commentedJust tried it from Git. This is the tarball I used http://drupalcode.org/project/openlayers.git/snapshot/f3f8ab22cd1c2415655b24babe34c87fcf8b7d10.tar.gz
It still doesn't work.
Comment #29
polAgain, I don't know how to help.
Is this online somewhere ?
This is my layer export:
Comment #30.0
(not verified) commentedUpdated issue summary.