r88888 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88887‎ | r88888 | r88889 >
Date:11:55, 26 May 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
added missing method
Modified paths:
  • /trunk/extensions/Maps/includes/services/YahooMaps/jquery.yahoomaps.js (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/includes/services/YahooMaps/jquery.yahoomaps.js
@@ -78,7 +78,16 @@
7979
8080 if ( options.resizable ) {
8181 this.resizable()
82 - }
 82+ }
 83+
 84+ this.addMarker = function( location ) {
 85+ map.addOverlay( createYMarker(
 86+ new YGeoPoint( location.lat, location.lon ),
 87+ location.title,
 88+ location.text,
 89+ location.icon
 90+ ) );
 91+ };
8392
8493 /**
8594 * Returns YMarker object on the provided location.

Status & tagging log