You can create a blue line from spheres but they need to be really close to each other. I do not know of any specific distance but I believe it should be less than 2 meters. As for the blue line inside a building, originally this tech is based on location data written and sticking to some path on Google Maps. It can stick to no path too if it cannot find anything close.
Google assumes blue lines should be created as a special GSV video(many cameras support it) with location data written in every video frame and then submitted as a video only.
However and only I had a problem with publishing one as a video I figured out that
a)blue line can be created from close by spheres
b) blue line published as closeby spheres can belong to a place or GMB.
Here is that example where I have been getting video errors(location data missing or file corrupted) trying to submit it as a blue line. I have stripped frames from it every 1-2 seconds, published it as a tour for that park. To my surprise in two days the tour was changed to a blue line.
https://goo.gl/maps/guXMB47XwaPRiHnY9