# Layouts Plugin

**URL:** https://meta.discourse.org/t/layouts-plugin/55208
**Category:** Plugin
**Tags:** pavilion, broken
**Created:** [January 5, 2017, 9:41am UTC](https://meta.discourse.org/t/layouts-plugin/55208 "2017-01-05T09:41:13Z")
**Posts on this page:** 1
**Showing post:** 170

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [March 10, 2018, 5:52am UTC](https://meta.discourse.org/t/layouts-plugin/55208/170 "2018-03-10T05:52:40Z")

</div>

I’ve added a `layouts-map` widget to the [Locations Plugin](https://meta.discourse.org/t/locations-plugin/69742).

[https://github.com/angusmcleod/discourse-locations/commit/422b583584fa02f7b2df42bdfd070c97ad262c5e](https://github.com/angusmcleod/discourse-locations/commit/422b583584fa02f7b2df42bdfd070c97ad262c5e)

See e.g. [https://discourse.angusmcleod.com.au/c/locations/layouts](https://discourse.angusmcleod.com.au/c/locations/layouts)

 ![Screenshot%20at%20Mar%2010%2013-48-38](https://global.discourse-cdn.com/meta/original/3X/f/1/f1578536d0fe7c39ae0b2cb9211efce300ad64bc.png)

If you have both the Custom Layouts and Locations Plugins installed, `layouts-map` will be available in the Layouts admin area and the category-specific layouts widget settings.

The locations displayed on the map will be:

- No category: All locations.
- Category: Locations in that category.
- Topic: Topic location.

The widget itself is controlled like any other custom layouts widget, by category-specific or site-wide route settings.

There are also two site settings relevant to the widget:

- `location layouts map search enabled`: Enables the map-search functionality.
- `location layouts map show avatar`: Display’s the user’s avatar in the top left corner of the map.

---

_[View the full topic](https://meta.discourse.org/t/layouts-plugin/55208)._
