Just like tooltips, why don't we have an option "Position tooltip over feature" ? The popup opens just under the map. I would like it to be opened near the point.

Comments

Jan van Diepen’s picture

Status: Active » Needs work

This upgrade to drupal7 is a work in progress.
We will surely consider your request.
You are also most welcome to post a patch.

ao2’s picture

I'll try to tackle that as I need this as well.

davidserene’s picture

Have a look at OpenLayers-2.12 the behaviors can be configured to display Popups on features onclick.

davidserene’s picture

I have included css to display a semi-transparent popup at the bottom right of the map.

davidserene’s picture

Status: Needs work » Closed (fixed)
batje’s picture

Status: Closed (fixed) » Needs work

This patch needs work:

+++ b/behaviors/openlayers_plus_behavior_popup.css
@@ -0,0 +1,233 @@
+- The big Solr powered maps on the search pages. Currently only ftritem/site visits is implemented.
+  -- These maps have a filter on the left, a hover using openlayers_plus in the right top corner and a ¶
+     popup at the same place. There is also a layerswitcher in the same position. On the homepage there is

This is project specific, and not related to this module. There is a lot more information like this, including personal names of people. That all should be removed.

+++ b/behaviors/openlayers_plus_behavior_popup.css
@@ -0,0 +1,233 @@
+#region-preface-second .openlayers-popupbox,
+#region-sidebar-second .openlayers-popupbox{

This is css related to a specific region of a theme. This css will not be used by the module if it is used in a different region, so it should be either less specific or removed.

+++ b/behaviors/openlayers_plus_behavior_popup.css
@@ -0,0 +1,233 @@
+ We do not use the grouping function of openlayers_plus, so we hide it in css
+ adding body to be more specific than the default css
+ */
+body .openlayers-popupbox .popup-pager {
+  display: none;
+}

The comment says this is project specific css that disables certain functionality. That of course is not what the module wants.

davidserene’s picture

This patch clears out project specific references https://drupal.org/node/2028461#comment-7581323

davidserene’s picture

Status: Needs work » Closed (fixed)

This is now the default behavior and the popup position can be overriden with css.

Sinan Erdem’s picture

Cool... Thanks for the efforts. I will try it as soon as I find the time for it.