To test it on the Google Maps view, you should open your Inspector and emulate a touch-device (by spoofing the user agent)..

This is because the userAgent can't be overwritten and Google uses this to identify if there's any touch support.