markerClusterGroup からレイヤーを削除しようとすると、removeLayer メソッドで「this._featureGroup.hasLayer は関数ではありません」というエラーが表示されます。
clusters = L.markerClusterGroup()
clusters.hasLayer(layer));//returns true
clusters.removeLayer(layer);//cause an error "this._featureGroup.hasLayer is not a function"
このようなエラーの原因は何ですか?