In my experience, the trick with urban trash bins in hot weather is to stop the smell before it starts. The biggest culprit is moisture, especially food scraps and liquids sitting in the bag. I’d line the bin with a sturdy bag, double-bag anything really smelly, and never pour leftover sauces, soup, or milk into the trash. If your city has food-waste collection, use it; if not, keep food scraps in a small container in the freezer or fridge until pickup day, then empty it right before the truck comes.
Take out smelly waste more often in summer—don’t wait until the bin is full. A half-full bin in 90-degree heat can smell much worse than a full bin in winter. Keep the lid closed and, if possible, put the bin in shade rather than direct sun. Wash the bin regularly: rinse it with vinegar and water, scrub the inside, and let it dry completely before putting a new bag in. Sprinkling baking soda in the bottom of the bag or bin helps, and a small charcoal pouch or activated-carbon odor absorber can make a real difference.
Also, rinse recyclables quickly so they don’t leave sticky residue, and keep the area around the bin clean. If neighbors share a bin area, suggest a simple cleaning rota or ask the building manager to hose down the pad. In really hot spells, I’d clean the bin weekly and keep a spray bottle of diluted vinegar nearby for quick touch-ups. That routine won’t make the bin perfume-fresh, but it does keep the worst summer smell under control.