Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
openlayers maps get crashed when they are dispalyed on bamboo theme.
has anyone had the same problem and/or find a solution about it?
Comment | File | Size | Author |
---|---|---|---|
#18 | 11111.jpg | 111.84 KB | alpp |
#14 | OpenLayers Test Example Feature Map | 580.05 KB | Danny Englander |
#13 | bundle_fields_checked_off.txt | 561 bytes | alpp |
#12 | bundle_content_type.txt | 11.93 KB | alpp |
#6 | view.txt | 8.48 KB | alpp |
Comments
Comment #1
Danny EnglanderI need much more info than this. Please have a look at:
Tips for making a good issue report
In particular, you will need to focus in "repeatability of the problem" and "steps to repeat".
Examples:
Comment #2
alpp CreditAttribution: alpp commentedi'm sorry i thought it was better when it's shorter.
i can add some information: this is an openlayers map view, and when i switch off to other themes the map displays all ok.
yes i can confirm that i am using bamboo 7.x-1.0-alpha14.
and openLayers is 7.x-2.0-beta3.
and for a quick look, this is what i mean: http://istanpoli.com/taksim_restaurants/
you can see the problem in the map, it does not appear on any other theme, so i thought this could be a bug within bamboo.
Comment #3
Danny EnglanderThanks for more details, can you provide an export of your View and attach it here as a text file? Also does a node with an Openlayers map display OK with this theme?
Comment #4
alpp CreditAttribution: alpp commentedok i will export the view and attach below.
Comment #5
alpp CreditAttribution: alpp commentedand yes it has the same problem in nodes too: http://istanpoli.com/node/2
Comment #6
alpp CreditAttribution: alpp commentedhere is the view...
Comment #7
Danny EnglanderCan you please edit #4, get rid of all the inline code and attach as a text file please as I asked for above. Thanks.
Comment #8
alpp CreditAttribution: alpp commentedok, i just did that.
Comment #9
Danny EnglanderThanks and what other Location related modules are you using with Openlayers? Geofield? or whatever, let me know. This may take a few weeks or more for me to get sorted out so there will not be a quick solution unless I find anything glaring.
Comment #10
alpp CreditAttribution: alpp commentedyes Geofield is used.
OpenLayers Layer Zoom, OpenLayers Plus and OpenLayers Views are also active.
Comment #11
Danny EnglanderSorry, one more thing, can you export your maps content type using http://drupal.org/project/bundle_copy if it's not too much trouble and attach it here as a text file? Please use the 2.x dv version, activate and go to: /admin/structure/types/export -- export with all the fields checked off and then copy into a text doc and attach. Thanks
Comment #12
alpp CreditAttribution: alpp commentedhere it is... all the fields are included.
Comment #13
alpp CreditAttribution: alpp commentedand this is the bundle with all fields checked off.. so this is what you asked for, ignore the previous one please.
Comment #14
Danny EnglanderHi, I could not get your content type to work with any theme at all, I was getting a slew of errors. But when I used the "
OpenLayers Test Example Feature
" that comes with OpenLayers, it worked right out of the box with any theme including Bamboo so it appears you have a serious config issue with your maps setup. Thanks and sorry I was not able to help. I suggest you try the Feature I mention above. Closing this issue.Comment #15
Danny EnglanderJust a few more things:
/admin/config/development/logging
Comment #16
alpp CreditAttribution: alpp commentedi was using Geofield 7.x-1.1, now i'm checking how the features test is working for me.. i tried in 2 different sites before i sent the issue so i really wonder what is the real situation...
Comment #17
alpp CreditAttribution: alpp commentedseems very strange for me.. because i see the same broken map when i choose the openlayers / Geofield Formatter Map for the geofield field (unless i do that i see no map because it comes out of the box as WKT and no map is displayed) and it's all the same broken map? can you be more spesific about what "configuration" is? i use fresh installations on both sites.
Comment #18
alpp CreditAttribution: alpp commentedthis is what i have with the test content. with fresh config.
Comment #19
alpp CreditAttribution: alpp commentedand yes it's set to all messages...
Comment #20
Danny EnglanderAt
/admin/structure/types/manage/openlayers_example_content/display
, I simply changed the field calledOpenLayers Example Geofield Input
to Format: "Geofield Map". It sounds like you need to file an issue over in the Openlayers queue, it works perfectly for me on a clean install, Drupal 7.20. I cannot replicate your issue.Comment #21
alpp CreditAttribution: alpp commentedok i think i got somewhere.
the problem is i am using geofield_formatter_map and openstreetmaps.. so it gives this errrorous scene. and when i tried using google maps or any others, it worked ok...
pity for me is i will be using openstreetmaps layers, which gives those unique errors in scene.
ps: sorry i should've checked other layers/maps before...
Comment #22
alpp CreditAttribution: alpp commentedif you switch to geofield_formatter_map in any of these maps you will see that it will give you the same problem... and since this can not be reproduced on any other themes, i think this is not an essential issue for openlayers module.
also if i choose yahoo maps or bing maps it gives blank scenes for me.
Comment #23
alpp CreditAttribution: alpp commentedi wonder if you had a working map with "geofield formatter map".
i have tried on the third fresh installation and it still do not work.
Comment #24
Danny EnglanderOk I was finally able to duplicate your issue. I am opening this back up. I duplicated it using 'Openlayers' as the format >> geofield formatter map as the display as you mention above.
This is the same issue we are having here as reported in Adaptive Theme:
#1297980: img max-width 100% breaks map displays - gmap, getlocations, openlayers
I have a line of CSS in style.css as such:
Removing max-width: 100%; fixes it. However, this is needed to provide some very basic defaults for a responsive style theme so I need to now figure out how best I am going to fix this. I need to look at the issue above and sort through it and see whats what.
Comment #25
Danny EnglanderUpdating the title for better tracking.
Comment #26
Danny EnglanderI have pushed a preliminary fix to dev, can you test it out:
git clone --recursive --branch 7.x-1.x http://git.drupal.org/project/bamboo.git
Once you confirm, I will add a new release.
This is the new code added to style.css:
Thanks.
Comment #27
alpp CreditAttribution: alpp commentedyes it fixed the problem. openlayers maps are now displayed all ok.
thank you very much.
Comment #28
Danny EnglanderOk thanks for reporting this. I am sorry about the confusion. I'll have a new alpha available within 24 hours.
Comment #29
Danny EnglanderThis fix is now incorporated into 7.x-1.0-alpha15