Fullscreen Map

To swtich to a full screen Map, you must have first created a Minimap as shown in the previous section. The Full Screen Map uses the same Prefab and Map Manager as the Minimap. The MiniMap Component come with its own Condition that will allow you to toggle between Minimap and Full Screen map.

First, create a GC Trigger of a type of your choice. We have used the Input Key M.

Next we add the Condition "Check Map Bool" to toggle the Map display.

This could also be achieved using GC Variables to keep track of which display is showing, but the MiniMap component comes with its own Bool to toggle the information showing.

The Display Map Full Screen Action has different parameters than the Minimap (show in the previous Section). These can be seen below.

The first difference you will notice is that you can have an Overlay Canvas with the Full Screen map. If you dont want this, uncheck the "Use Overlay Canavs" checkbox, or you will receive a Null reference error. The overlay canvas can be used to provide a filter over the map, such as a dark transparent panel, and you can create a Key (legend) for any Markers that you will create after reading the next section. To see the effect of the Overlay Canvas, check out the UI Example with this Module.

The Full Sreen Map also has the following properties which you should set accordingly.

Property Name

Description

Filed of View

Gives the appearance that the camera is closer or further away

Freeze Map

This stops the map from following the Player.

Show Overlay

You can hide the overlay even if you have created one.

Zoom on Scroll-wheel

Allows the player to zoom in/out if a scrollwheel is present

Drag Map with Mouse

Allows the player to drag the Map

Drag Speed

Sets the Drag speed of dragging the Map

Drag Button

Sets the Drag Button to drag the Map

Last updated