# Loading Umaps into LevelEditor

**URL:** <https://forums.unrealengine.com/t/loading-umaps-into-leveleditor/419947>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [March 15, 2018, 10:16pm UTC](https://forums.unrealengine.com/t/loading-umaps-into-leveleditor/419947 "2018-03-15T22:16:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e168914d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e168914d](https://forums.unrealengine.com/u/anonymous_user_e168914d)\
**Post date:** [March 15, 2018, 10:16pm UTC](https://forums.unrealengine.com/t/loading-umaps-into-leveleditor/419947/1 "2018-03-15T22:16:12Z")

</div>

Im trying to add a widget that will load specific levels into the level editor when working on a World Composition Object.

The WorldBrowserModule Api exposes a function

```
virtual TSharedPtr<class FLevelCollectionModel> SharedWorldModel(UWorld* InWorld);

```

Which seems to be what I need. However FLevelCollectionModel, is not exported.

So nobody can use this APi.

Are you planing to expose this? Or provide an api that can be used?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e168914d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e168914d](https://forums.unrealengine.com/u/anonymous_user_e168914d)\
**Post date:** [March 16, 2018, 3:16pm UTC](https://forums.unrealengine.com/t/loading-umaps-into-leveleditor/419947/2 "2018-03-16T15:16:34Z")

</div>

LevelCollectionModel.h ~26 Needs Export Decorations.

```
class WORLDBROWSER_API FLevelCollectionModel

```

LevelModel.h ~ 30 …

```
class WORLDBROWSER_API FLevelModel

```

Then you need in your build.cs to define the MACRO “WORLDBROWSER\_API” :

```
PublicIncludePaths.AddRange(new string[]
{
    "Editor/WorldBrowser/Public",
    "Editor/WorldBrowser/Private"
}

```

Can we get these decorators put into the latest?
