Before we starting please make sure that you already seen the Getting Started Guide.
You can find an example Level inclueded in the project.
Open the OpenWorld_PersistentMap Level.
Editor Overview
This is the first step to make sure the minimap will working correctly for your level. Your first sub level should be on the position 0,0,0 . Than you can add the other sub levels to it. In my example i've used level proxys. However the middle of your playable terrain should be in the middle of the world at the position 0,0,0.
in this example i've made a smaller landscape the extent is in x and y 2800 uu (1uu =1cm). What that means that the landscape length is in x and y 5600 uu. if i have 3 subleves in x and 3 in y than i have a length in x and y from 16800 uu. This is in this case the PlayableTerrainSize. So now you know how you can calculate the map size but UE4 already do this for you...you see at the bottom of this screenshot. :)
Now if we know the playable terrain size we can click on the BP_MinimapLevelHandler in the world and fill the data into it.
If you use the minimap with World Composition please uncheck the "Auto calculate landscape size" boolean to make sure the minimap receive the size from the PlayabelTerrainSizeX and Y floats. In this case you don't need a reference to the landscape.
You're done.
You can find here the Official Documentation and UE4 stream about World Composition.