When I clicked on map getting feature properties of two layers, Means map. On(\'click\') event worked for both functions draw tool and maker creation. when I used draw to