use leaflet resize flag