add feature to markers layer, not to image layer. thanks to stephen w. for spotting this.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7236 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -841,7 +841,7 @@
|
||||
*/
|
||||
function addMarker(ll, popupClass, popupContentHTML, closeBox, overflow) {
|
||||
|
||||
var feature = new OpenLayers.Feature(layer, ll);
|
||||
var feature = new OpenLayers.Feature(markers, ll);
|
||||
feature.closeBox = closeBox;
|
||||
feature.popupClass = popupClass;
|
||||
feature.data.popupContentHTML = popupContentHTML;
|
||||
|
||||
Reference in New Issue
Block a user