Rows of electric scooters and bicycles are parked outdoors on a sunny day, with helmets hanging from handlebars.
E-bikes and e-scooters are lined up in Danville, Calif., in an undated photo. San Mateo County supervisors approved an ordinance Tuesday that would impose stricter rules on e-bike use, including a 5 mph speed limit on sidewalks and requirements to yield to pedestrians. (Danville Police Department via Bay City News)

E-bike and motorized scooter riders in Danville are now required to dismount and walk while inside all town parks after a new rule took effect Thursday.

The new rule applies to all town parks and is intended to improve safety for pedestrians and other park users. Riders must walk, rather than ride, e-bikes and motorized scooters while within park boundaries.

This ordinance was developed after months of growing complaints from town residents.