OpenLayers OpenLayers

Changeset 7236

Show
Ignore:
Timestamp:
05/21/08 09:23:30 (3 months ago)
Author:
euzuro
Message:

add feature to markers layer, not to image layer. thanks to stephen w. for spotting this.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/examples/popupMatrix.html

    r7095 r7236  
    842842        function addMarker(ll, popupClass, popupContentHTML, closeBox, overflow) { 
    843843 
    844             var feature = new OpenLayers.Feature(layer, ll);  
     844            var feature = new OpenLayers.Feature(markers, ll);  
    845845            feature.closeBox = closeBox; 
    846846            feature.popupClass = popupClass;