Background:
I\'m working with transport routes and Google provides Route points far apart enough to create \'shapes\'. These are the bus/train route
The following solution isn't exactly what you've requested, but may suffice for your purposes...
Check the official docs (https://developers.google.com/maps/documentation/javascript/reference) for the interpolate method. From the docs: 'Returns the LatLng which lies the given fraction of the way between the origin LatLng and the destination LatLng.'
So if you know that your original points are, say, 100m apart, and you specify 0.05 as the fraction, the method will return the lat/lng along that line for every 5m.