Can I add two overlays to the map: one will be displayed when mouse hovers 
the feature and another displayed when the mouse click event fires ? I 
tried to create and add the two overlays respectively but seems it does not 
work. Thanks. 

   var bmpOverlay = new ol.Overlay({
        element: document.getElementById('bmp-select-tool')
    });

    map.addOverlay(bmpOverlay);

    var infoOverlay = new ol.Overlay({
        element: document.getElementById('feature-info')
    });

    map.addOverlay(infoOverlay);   

-- 
You received this message because you are subscribed to the Google Groups "OL3 
Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ol3-dev+unsubscr...@googlegroups.com.
To post to this group, send email to ol3-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/ol3-dev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ol3-dev/c1fb6bc2-072e-45c0-9fb1-9bcdb779d8a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to