incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r536671 - /incubator/xap/trunk/codebase/src/xap/bridges/google/GoogleMarkersBridge.js
Date Wed, 09 May 2007 21:50:54 GMT
Author: mturyn
Date: Wed May  9 14:50:53 2007
New Revision: 536671

URL: http://svn.apache.org/viewvc?view=rev&rev=536671
Log:
Added additional comments.

Modified:
    incubator/xap/trunk/codebase/src/xap/bridges/google/GoogleMarkersBridge.js

Modified: incubator/xap/trunk/codebase/src/xap/bridges/google/GoogleMarkersBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/xap/bridges/google/GoogleMarkersBridge.js?view=diff&rev=536671&r1=536670&r2=536671
==============================================================================
--- incubator/xap/trunk/codebase/src/xap/bridges/google/GoogleMarkersBridge.js (original)
+++ incubator/xap/trunk/codebase/src/xap/bridges/google/GoogleMarkersBridge.js Wed May  9
14:50:53 2007
@@ -54,10 +54,12 @@
 	var childElement = e.getChange();
 	var childHandler = this.getUiContentHandler().getHandlerForElement( childElement );
 	
+	// save the map object to the child
 	childHandler._map = this._map;
 	
 	// check instance of and then handle them
 	if ( childHandler instanceof xap.bridges.google.GoogleMarkerBridge ) {
+		// call the GoogleMap API to add the marker
 		this._map.addOverlay (childHandler.getPeer());		
 	}	
 }



Mime
View raw message