# 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:** 20
**Page:** 13

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [November 16, 2021, 10:03am UTC](https://meta.discourse.org/t/locations-plugin/69742/733 "2021-11-16T10:03:21Z")

</div>

Ember CLI compatibility fixes are merged: [COMPATIBILITY: for Ember CLI changes by merefield · Pull Request #59 · merefield/discourse-locations · GitHub](https://github.com/paviliondev/discourse-locations/pull/59)

Let me know if you see any issues.

@Don

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [November 19, 2021, 1:11am UTC](https://meta.discourse.org/t/locations-plugin/69742/734 "2021-11-19T01:11:19Z")

</div>

Hi Robert,

Today I tested it again now i’ve got this issue in topics.

Thanks 🙂

 ![Screenshot 2021-11-19 at 0.42.53](https://global.discourse-cdn.com/meta/original/3X/7/2/72bf4ed990fa96aace89cec70b23894c8ba2aa11.png)

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [November 19, 2021, 8:57am UTC](https://meta.discourse.org/t/locations-plugin/69742/735 "2021-11-19T08:57:54Z")

</div>

Whoops, sorry, resolved that missed one now, I believe: [COMPATIBILITY: resolve deprecation of Discourse.SiteSettings by merefield · Pull Request #61 · paviliondev/discourse-locations (github.com)](https://github.com/paviliondev/discourse-locations/pull/61/commits/c18d91e7f9e9d9c9ce69149fc9461e538f715dff)

---

<div class="post-metadata">

### Author: ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)
#### Post date: [January 1, 2022, 7:13pm UTC](https://meta.discourse.org/t/locations-plugin/69742/736 "2022-01-01T19:13:06Z")

</div>

Happy New Year 🙂

One of our members has raised an issue with the size of the text on the basemap / tiles and I’m wondering if this is a setting I’ve missed 🤔

We’re using:

`https://api.mapbox.com/styles/v1/mapbox/outdoors-v11/tiles/{z}/{x}/{y}?access_token=`

I also use another website with the `outdoors-v11` tiles and the issue isn’t present there.

Here’s how our members map looks:

 ![Screen Shot 2022-01-01 at 19.07.25](https://global.discourse-cdn.com/meta/original/3X/f/9/f975e262a5a782859094b353f4588b4417de9ac2.jpeg)

The same area, same zoom level (note the yellow road above the lake for reference):

 ![Screen Shot 2022-01-01 at 19.07.46](https://global.discourse-cdn.com/meta/original/3X/5/4/5494b9db07e7b897a01e6de7c6220e1568674d16.jpeg)

If I then zoom in further to that yellow road on my users map:

 ![Screen Shot 2022-01-01 at 19.08.56](https://global.discourse-cdn.com/meta/original/3X/d/3/d33100a8d9657376bbfc7d930fc47b1913f22270.png)

And the same zoom, on a different web site:

 ![Screen Shot 2022-01-01 at 19.09.02](https://global.discourse-cdn.com/meta/original/3X/d/0/d01b585860e07dac0930753e20401d9b228691de.png)

Does anyone what’s causing the text on my user map to be so small? 🤔

---

<div class="post-metadata">

### Author: ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)
#### Post date: [January 1, 2022, 7:13pm UTC](https://meta.discourse.org/t/locations-plugin/69742/737 "2022-01-01T19:13:54Z")

</div>

Oh, you may need to click on those images to make them larger to see the issue fully.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [January 2, 2022, 8:31pm UTC](https://meta.discourse.org/t/locations-plugin/69742/738 "2022-01-02T20:31:36Z")

</div>

Do you have the source code for the javascript call for non-Locations Plugin map? It might show why there’s a difference and if it’s using the same library and data, the attribute that’s being used to differentiate it …

Also, what version of Leaflet is it using?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [January 2, 2022, 9:47pm UTC](https://meta.discourse.org/t/locations-plugin/69742/739 "2022-01-02T21:47:43Z")

</div>

FYI I’ve updated to [latest stable leaflet version](https://leafletjs.com/download.html), in case that’s part of the issue, but probably good practice in any case (we were lagging quite far behind 1.3.4 → 1.7.1)

I’d be grateful if you could rebuild and test this and confirm all is well here:

`- git clone https://github.com/paviliondev/discourse-locations -b beta`

Before I merge it to the main branch.

If I don’t receive any feedback I will merge anyway in a week or two (so here’s your chance!)

(FYI on it’s own it does NOT explain the differences observed above)

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [January 5, 2022, 6:48pm UTC](https://meta.discourse.org/t/locations-plugin/69742/740 "2022-01-05T18:48:12Z")

</div>

I’ve added a fix for User Card Directory compatibility to the `beta` branch: [Update to latest stable leaflet version & fixes for User Card directory compatibility by merefield · Pull Request #63 · paviliondev/discourse-locations (github.com)](https://github.com/paviliondev/discourse-locations/pull/63/commits/91742b17c8efacad7a02f6ed6b3ccfdee70205ba), [Update to latest stable leaflet version & fixes for User Card directory compatibility by merefield · Pull Request #63 · paviliondev/discourse-locations (github.com)](https://github.com/paviliondev/discourse-locations/pull/63/commits/4254bd9c7b9f4ac403709ae53dfb93259b6be829)

---

<div class="post-metadata">

### Author: ![jimkleiber](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimkleiber/32/121814_2.png) [@jimkleiber](https://meta.discourse.org/u/jimkleiber)
#### Post date: [January 5, 2022, 7:33pm UTC](https://meta.discourse.org/t/locations-plugin/69742/741 "2022-01-05T19:33:08Z")

</div>

> [@merefield](#):
>
> I’d be grateful if you could rebuild and test this and confirm all is well here:
> 
> `- git clone https://github.com/paviliondev/discourse-locations -b beta`

> [@merefield](#):
>
> I’ve added a fix for User Card Directory compatibility to the `beta` branch

Wow, I’m impressed by how quick this fix may have been! I’ll test it out now—more about the User Card Directory than Leaflet, as I haven’t done too much with Locations yet—and let you know what I find.

Edit: just tested it and the user cards appear on the directory the locations plugin enabled, thank you!

Linking here to remind people that bug reporting on [thepavilion.io](http://thepavilion.io) can help:

> **[Pavilion](https://pavilion.tech/)**
>
> Pavilion is the leading Discourse consultancy.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [January 5, 2022, 8:24pm UTC](https://meta.discourse.org/t/locations-plugin/69742/742 "2022-01-05T20:24:10Z")

</div>

Thanks for testing @jimkleiber! OK that’s good news. I’ll be merging that soon hopefully. For now you can stay on that branch. I’ll notify here when that PR is merged.

---

<div class="post-metadata">

### Author: ![pokapow](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pokapow/32/77900_2.png) [@pokapow](https://meta.discourse.org/u/pokapow)
#### Post date: [January 10, 2022, 2:37am UTC](https://meta.discourse.org/t/locations-plugin/69742/743 "2022-01-10T02:37:40Z")

</div>

Is there a way to force the geolocation of the address entered?

Because even by choosing “required” for the “location geocoding” option, the user still seems to be able to enter non-geolocated addresses:

![image](https://global.discourse-cdn.com/meta/optimized/3X/8/1/81ca326bee6752b5ed91c1897ab1f89cff035360_2_690x76.png)

I can validate without geolocation:

![image](https://global.discourse-cdn.com/meta/original/3X/7/a/7ace55618114f196c2b16820bf38b2e2a47a1135.png)

But I notice that if I want to edit this non-geolocated location, I can no longer validate until I have chosen geocoordinates, as expected.

 ![Sans titre](https://global.discourse-cdn.com/meta/original/3X/a/a/aa91f575eafe317e09727821dd75f2854fe1b7c8.png)

It’s strange behavior, isn’t it?

---

<div class="post-metadata">

### Author: ![kbsy](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@kbsy](https://meta.discourse.org/u/kbsy)
#### Post date: [January 10, 2022, 3:41pm UTC](https://meta.discourse.org/t/locations-plugin/69742/744 "2022-01-10T15:41:37Z")

</div>

Is it possible to set the coordinates by clicking on a map? That seems to me to be the “natural” way. After all, there are many places without an address. But I can’t find a setting for it.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [January 10, 2022, 4:26pm UTC](https://meta.discourse.org/t/locations-plugin/69742/745 "2022-01-10T16:26:13Z")

</div>

Great idea. PR welcome!

---

<div class="post-metadata">

### Author: ![4ong](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/4ong/32/186618_2.png) [@4ong](https://meta.discourse.org/u/4ong)
#### Post date: [January 28, 2022, 5:24pm UTC](https://meta.discourse.org/t/locations-plugin/69742/746 "2022-01-28T17:24:35Z")

</div>

Hi @angus 2 questions:

1. Is it possible to set user location from location field in Wizards Plugin?  
I’ve tried with and without interpolation - it seems not working and it looks like it changes the original user location field instead of location field based on location plugin (with geolocation enabled)

  

1. When enabled it shows 2 user websites and location  
Both from location plugin and original.

 ![изображение](https://global.discourse-cdn.com/meta/original/3X/d/1/d1958d2ec9172ab44cb4a1e2417ef9419acb93a0.png)

 ![изображение](https://global.discourse-cdn.com/meta/original/3X/e/0/e0d7043d0fac39fd4901e6961b359e1afc228051.png)

  

Are these known issues?  
If not, I will try to solve them and make PR.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [January 28, 2022, 7:00pm UTC](https://meta.discourse.org/t/locations-plugin/69742/747 "2022-01-28T19:00:24Z")

</div>

Sorry I’m not clear what is causing that. Locations plugin on its own will not corrupt the website link.

Are you saying when the Custom Wizard is also installed you get that duplication?

---

<div class="post-metadata">

### Author: ![4ong](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/4ong/32/186618_2.png) [@4ong](https://meta.discourse.org/u/4ong)
#### Post date: [January 28, 2022, 10:20pm UTC](https://meta.discourse.org/t/locations-plugin/69742/748 "2022-01-28T22:20:36Z")

</div>

Hmm, thanks. Don’t know why this is happening yet - will try to investigate tomorrow.  
Here is what it shows right now with -

 ![изображение](https://global.discourse-cdn.com/meta/original/3X/4/b/4bbd40ed376f5f99aa76e56975b836d9a51637c1.png)

Andorra is the text from user profile location field when Location plugin is deactivated.  
And the screen shows what happens when Location plugin is activated.

P.S. It’s can be my fault with some settings or plugins - do not waste too much time on this - I will investigate it step-by-step 🙂

---

<div class="post-metadata">

### Author: ![4ong](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/4ong/32/186618_2.png) [@4ong](https://meta.discourse.org/u/4ong)
#### Post date: [January 28, 2022, 10:22pm UTC](https://meta.discourse.org/t/locations-plugin/69742/749 "2022-01-28T22:22:14Z")

</div>

> Are you saying when the Custom Wizard is also installed you get that duplication?  
> No - I’ve tried with and without Custom Wizard - duplicate stays.

The question about Custom Wizard is - how it’s possible to update user location in user profile from the Wizard?  
I’ve tried location field there - but with no success.  
Should I ask this in Custom Wizard topic?

Cheers,

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [January 28, 2022, 10:25pm UTC](https://meta.discourse.org/t/locations-plugin/69742/750 "2022-01-28T22:25:55Z")

</div>

I cannot reproduce your issue so would appreciate if you can track down any clash. Locations is working fine with web page details for me.

---

<div class="post-metadata">

### Author: ![4ong](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/4ong/32/186618_2.png) [@4ong](https://meta.discourse.org/u/4ong)
#### Post date: [January 28, 2022, 10:26pm UTC](https://meta.discourse.org/t/locations-plugin/69742/751 "2022-01-28T22:26:35Z")

</div>

Sure, I will investigate tomorrow. Thanks!

---

<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: [January 28, 2022, 11:47pm UTC](https://meta.discourse.org/t/locations-plugin/69742/752 "2022-01-28T23:47:34Z")

</div>

My profile doesn’t appear on the users map: [https://unicyclist.com/u/user-map?period=location](https://unicyclist.com/u/user-map?period=location) (I should be in France)

I thought it was because my location in my profile wasn’t precise enough (just “France”), so I updated it using the autocompletion, but my icon still doesn’t appear on the map.

> **[Canapin](https://unicyclist.com/u/canapin/summary)**
>
> Administrator of unicyclist.com and forum.monocycle.info. 
> Feel free to contact me about anything regarding these websites! 
> :uni:

Any idea why?

[Previous page](https://meta.discourse.org/t/locations-plugin/69742.md?page=12)

[Next page](https://meta.discourse.org/t/locations-plugin/69742.md?page=14)
