Active
Project:
GMap Module
Version:
6.x-1.1-rc1
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2010 at 22:32 UTC
Updated:
20 Apr 2011 at 11:45 UTC
I am sure this must have been asked before, but i can't find anything on it.
I have a small map showing all my news items in the sidebar. Because the map is so small the popup within the map crowds the screen. Is there a way to open a shadowbox/lightbox/thickbox style popup instead of the gmap popup?
Comments
Comment #1
rockitdev commentedLooking for this functionality as well.
It's essentially a matter of add rel="shadowbox" to a link, but it appears as though since the markers are generating all through JS, i'm not certain how to add this behaviour to a marker link.
Comment #2
rockitdev commentedOk, so here is how you can replace an infowindow with Shadowbox (same concepts would apply to most other JS modal window frameworks).
** This requires a change to one of the core GMAP JS Files **
This has only been tested with a GMAP view display. Install http://drupal.org/project/shadowbox and make sure it is working.
From the gmap module, edit js/marker.js
Replace
With