I don't think that solar panels will be capable of generating enough power to make much of an impact on an electric car's mileage. Happy to be corrected.
For example: 2 square meter panel x 1000 = 2000 x 0.20 (20% efficiency panel) = 400. 400 x 5 hours of sun hours = 2000 Watt hours per day. [ibid]
In 2012, the EPA range for the 60 kWh battery pack model was 208 mi (335 km) and the 85 kWh battery was 265 miles (426 km). [2]
A Tesla gets about 3.5 miles per kWh, so you would be able to get about 7 miles of driving distance per day (5 hours of sunlight) of charging.
Ref:
[1] https://www.theecoexperts.co.uk/solar-panels/how-much-electr...
On top of that it's a lot of mechanisms to add for not adding much space above a roof mounted panel.