we should really be sure that this.lonlat is set too.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@348 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -81,8 +81,10 @@ OpenLayers.Popup.prototype = {
|
||||
* @type DOMElement
|
||||
*/
|
||||
draw: function(px) {
|
||||
if ((px == null) && (this.map != null)) {
|
||||
px = this.map.getLayerPxFromLonLat(this.lonlat);
|
||||
if (px == null) {
|
||||
if ((this.lonlat != null) && (this.map != null)) {
|
||||
px = this.map.getLayerPxFromLonLat(this.lonlat);
|
||||
}
|
||||
}
|
||||
|
||||
if (this.div == null) {
|
||||
|
||||
Reference in New Issue
Block a user