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:
@@ -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);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user