diff --git a/src/Layers/DynamicMapLayer.js b/src/Layers/DynamicMapLayer.js
index <HASH>..<HASH> 100644
--- a/src/Layers/DynamicMapLayer.js
+++ b/src/Layers/DynamicMapLayer.js
@@ -70,6 +70,8 @@ L.esri.Layers.DynamicMapLayer = L.esri.Layers.RasterLayer.extend({
 
     if(this.options.layers){
       identifyRequest.layers('visible:' + this.options.layers.join(','));
+    } else {
+      identifyRequest.layers('visible');
     }
 
     identifyRequest.run(callback);
identify only visible layers in bindPopup