Map component needs internet on Server or Perspective session?

Hello all,
I was wondering about the Map component in perspective. If I use the default online map or additional layers with APIs, do I need the server itself (Ignition Gateway) to be connected to the internet or the device hosts the perspective session or both?
In another word, which does load the map and APIs, the Gateway or the Session?

The Session loads the information.

Client should connect to Internet.