Cities around the globe are slowly transforming into climate-resilient hubs.