[Mapbender-commits] r3126 - branches/nimix_dev/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Oct 6 07:31:00 EDT 2008


Author: nimix
Date: 2008-10-06 07:31:00 -0400 (Mon, 06 Oct 2008)
New Revision: 3126

Modified:
   branches/nimix_dev/http/javascripts/mod_georss.php
Log:
bolloon positioning

Modified: branches/nimix_dev/http/javascripts/mod_georss.php
===================================================================
--- branches/nimix_dev/http/javascripts/mod_georss.php	2008-10-06 10:40:54 UTC (rev 3125)
+++ branches/nimix_dev/http/javascripts/mod_georss.php	2008-10-06 11:31:00 UTC (rev 3126)
@@ -93,7 +93,7 @@
 	return extent;
 }
 
-function showGeorssTooltip(){
+function showGeorssTooltip(e){
 	actGeom = this.geom;
 	if(!actGeom)
 		return;
@@ -110,7 +110,7 @@
 	}
 	
 	//Show Modal Popup
-	pt=realToMap(actFrame, actGeom.getPoint(0,0));
+	mb_getMousePos(e,actFrame);
 	georssWin = new mb_popup({title:actGeom.e.getElementValueByName("title"),
 		html:actGeom.e.getElementValueByName("description"),balloon:true,left:clickX+x,top:clickY+y,modal:true});
 	georssWin.show();



More information about the Mapbender_commits mailing list