Closed (won't fix)
Project:
Colorbox Node
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 May 2012 at 14:49 UTC
Updated:
22 Sep 2013 at 04:24 UTC
Jump to comment: Most recent file
Comments
Comment #1
iLLin commentedOk, I have tried to add this in the init() and got a little further.
But I think because we are trying to load it through AJAX that some stuff is not being loaded up correctly. I have a request here: #1600796: How to load an OpenLayers view into the content area with an AJAX link?
Comment #2
treckstar commentedWould love to see this working with Colorbox node.
On the page that I want to load with colorbox node(contains a geofield map field)
<div style="width: 100%; height: 150px" id="geofield_map_entity_field_location_geo_48" class="geofieldMap processed"></div>It should look something like this (loads fine without colorbox node)
<div style="width: 100%; height: 150px; position: relative; background-color: rgb(229, 227, 223); overflow: hidden; " id="geofield_map_entity_field_location_geo_48" class="geofieldMap processed">Map-Source-Code-Here</div>I am using jquery 1.4 and I am starting to think this is also related to Ajax
Comment #3
iLLin commentedYou need to Comment in the thread I started at openlayers. They will need to fix it in their module, or provide the necessary ajax integration.
Comment #4
iLLin commentedComment #5
mavdiablo commentedI don't test this so much, but i think Openlayers doesn't support two maps on the same page...
what do you think about?
Comment #6
viseser commentedMy case is as follows:
I created a page view that contains a field geofield shown by geofield map.
I connect this url using a link (class = "colorbox-node") opens correctly geofield map, but the map is a small and not completely.
The modules used are:
Node Colorbox 7.x-2.4
Geofield 7.x-1.1
Colorbox 7.x-1.3
Map Geofield 7.x-1.1
Attached image.
Any idea?.
Thanks.
Comment #7
paean99 commentedI had a similar problem.
Try to add "?width=600&height=600" (or other dimensions) to the end of the link:
href="blogs/my-example?width=600&height=600"