Locations Plugin 🌍

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 image

  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. :thinking:

  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:

    With this console output:

   _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 and discourse locations.

edit:
I managed to do the 4.:

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

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