diff --git a/examples/popupMatrix.html b/examples/popupMatrix.html index 0e85cf4b2d..0829c44a04 100644 --- a/examples/popupMatrix.html +++ b/examples/popupMatrix.html @@ -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;