alert changed to warn
warning on getfeature without map layer