changing function name from generateMarker to draw() to remain consistent with other areas of the code. (specifically OpenLayers.Control, whouses the draw() function to render the control and return a link to the div)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@249 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-05-22 10:50:35 +00:00
parent 5dcb062be1
commit 7f11d01e87
3 changed files with 8 additions and 9 deletions

View File

@@ -71,7 +71,7 @@ OpenLayers.Layer.Marker.prototype =
*/
drawMarker: function(marker) {
var px = this.map.getPixelFromLonLat(marker.lonlat);
var markerDiv = marker.generateMarker(px);
var markerDiv = marker.draw(px);
this.div.appendChild(markerDiv);
},