Using Google Maps in a car with a Hotspot and a cell phone with no sim card
Given that I've sat in a moving bus only using WiFi an can see the blue dot in Google Maps move down the street, it should work.

You may have location problems if there isn't any GPS signal and you are in an area where there is little geolocated WiFi hotspots/signals.