Skip to content

Display MapEx inside other widgets and UIKit components

Ramil Valitov edited this page Jun 4, 2016 · 1 revision

The well known problem

The Yootheme states that putting (or nesting) widgets inside widgets is not supported (e.g. see this post). If you do that, then usually you will face a situation that your widget is not rendered correctly. In case of a Map widget, if you will put it inside another widget (for example, inside a switcher), then the map will have incorrect rendering and will display invalid region. For example, this is correct rendering with MapEx widget:

Map widget settings with URLs and links

Incorrect rendering of standard Map widget in the same situation: Map widget settings with URLs and links

The similar problem happens, when you try to put a widget inside a modal (lightbox) - this situation is described in details here.

The solution provided by the MapEx widget

The problem mentioned above is a great disappointment for many users! But MapEx widget lacks such limitation. With MapEx you can put the widget inside any other widget or UIKit component, for example the MapEx can be nested inside the following:

The MapEx widget works inside other widgets that are not mentioned above, too. If you experience any problems, please, report about this by posting an issue in the tracker here.