Fix #1284 : Remove preview layer when a new layer is added to the map
Merge pull request #1290 from geoadmin/fix_preview

Fix #1284 : Remove preview layer when a new layer is added to the map