# Locations Plugin 🌍

**URL:** <https://meta.discourse.org/t/locations-plugin/69742>\
**Category:** Plugin\
**Tags:** paid-support\
**Created:** [September 10, 2017, 10:36am UTC](https://meta.discourse.org/t/locations-plugin/69742 "2017-09-10T10:36:41Z")\
**Posts on this page:** 1\
**Showing post:** 601

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [September 16, 2020, 10:37am UTC](https://meta.discourse.org/t/locations-plugin/69742/601 "2020-09-16T10:37:02Z")

</div>

Hi!  
I’m trying this amazing plugin. Seems a very solid piece of work!

The purpose of my use if having trade locations displayed on a trading category.

I have several questions:

1. I checked **location user avatar** but my avatar isn’t displayed on the map. Am I missing something?

2. **location map marker category color** : is it possible to change the icon shape? When I choose a colored marker, it’s a bit too round for my taste, I like the default shape.  
 ![image](https://global.discourse-cdn.com/meta/original/3X/5/b/5b07a36b65171e4d797ed3ac78fcff8d68ef9e38.png) ![image](https://global.discourse-cdn.com/meta/original/3X/0/d/0d9d9be6e5221135ca3a1c1c8b4b1d9e827d6efb.png)

3. **location user profile format** : How do I find a list of geolocation attributes? I tried setting “address”, but the **location** field in the user preference was still plain text, with no location selector. 🤔

4. Is it possible to show the location under the topic name on the topic list? So the users will see at first glance where the sale is located (it’s quite important since it’s an international forum)

5. If I click on the marker, I have an error:  

```plaintext
   _application-0839e21515af10c83cf59df7b5c45c2f8db9404f82c4186084346bb0a0a9b425.js:63408 
   TypeError: Cannot read property 'refresh' of undefined
   
   _ember_jquery-d0ba1603b80181031290e4bd850857d41d63bc4a081d7b4bf16d4e1a4e355a22.js:36991 Error while 
   processing route: topicBySlugOrId Cannot read property 'refresh' of undefined TypeError: Cannot read 
   property 'refresh' of undefined

   _ember_jquery- 
   d0ba1603b80181031290e4bd850857d41d63bc4a081d7b4bf16d4e1a4e355a22.js:38545 Uncaught TypeError: Cannot read property 'refresh' of undefined

```

I don’t have custom theme components and as for the plugins, I only use procourse installer, [data explorer](https://meta.discourse.org/t/32566?silent=true) and discourse locations.

edit:  
I managed to do the 4.:

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/b/4b4fd691a4581f1866feb2407d1af903b617b197.png)

By adding this code to the the template list/topic-liste-item.raw:

```plaintext
    {{~#if topic.location}}
      <div class="title-location">
        {{d-icon 'map-marker-alt'}} {{location-format topic.location opts}}{{location-label-container}}
      </div>
    {{~/if}}

```

---

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