HI,
I have a problem when a Test to select Map on dropdown menu I receive :
and error on inspect :
Thanks for the report โฆ weโll look at this in time.
Can you screen shot that โdropdownโ please - do you mean the legacy Hamburger menu or the new Dropdown menu?
In either case, I cannot reproduce this issue with latest Discourse and this plugin appears to be working fine with latest Discourse as of today.
Are you on latest?
Ah, got it for now, make sure this is checked:

Ok itโs good
One other question, this is for view the topic but if I wanted just view the user to have idea how many people are around me itโs possible ?
Sure, encourage users to record their location (doesnโt have to be exact), in Preferences โ Profile. The link is on the User Map in the User Directory page
Recording your location is currently voluntary.
See the example map above: Locations Plugin ๐ - #875 by Richie
Hello
Has a track been found to resolve the error with the direct links to the map? (for subjects, the one for users is OK )
Great plugin, many thanks!
Stephane
Thankโs all workโฆ
just another question, itโs possible to not show the location on button subject :

I use this plugin and didnโt see any setting to disable it, so you could do it with CSS:
.location-details {
display: none;
}
Are you linking from another site?
In any case, yes I had time to work on a fix and my PR is under review:
That is merged (thanks @angus)
Let me know how you get on.
Iโm using the Locations plugin to add topic locations and seeing a few odd things:
The Country drop down menu/search field never finds anything. If I search for a location using the city/state fields and find a location the country field gets populated for that location, e.g. โusโ, but if I subsequently try to search for โusโ itโs not found.
The coordinates fields are displayed with examples showing decimal places. If I enter a value, e.g. 38.1234, thereโs a warning popup saying I should only enter valid values, with the closest being 38 and 39. That suggests that only integer values are permitted?
The coordinates donโt get stored, even if I enter valid integer values.
The plugin is showing as up-to-date. Have I got something wrong in my configuration?
Thanks for the report, Iโm working on some fixes.
Chris, your feedback was valuable and Iโve been able to address all your points, I believe:
https://github.com/paviliondev/discourse-locations/pull/87
This got broken in a โblindโ (test-less) refactor recently. Apologies.
Iโve added some additional tests to cover the resolved issues so hopefully there is much less risk of this happening again.
Thanks Robert. I just upgraded the plugin and can confirm that all three issues look to be fixed. Iโm also seeing some different problems with the map. I donโt know if these are related to each other, or in some way to the previous issues, but this is what Iโm seeing. I apologise that at the moment Iโm not able to give you a way to replicate all of these issues. Iโll continue trying to find a way to do this and will let you know if/when I find it.
Sometimes the markers for user and topic locations appear on the map but they arenโt clickable. Other times the markers are clickable and take you to the correct place.
Sometimes the map is rendered but no markers are displayed.
Sometimes the map can be scrolled around by click-holding the mouse and moving it. Other times I canโt do that. Sometimes I can move the map when itโs first displayed but then once I zoom in it becomes unmovable.
Iโm also getting a 500 error sometimes when accessing the map. I think this is repeatable. It seems to happen when Iโve had one of the issues mentioned above and then I click refresh in the browser to try to clear things up. I get this errorโฆ
Oops
The software powering this discussion forum encountered an unexpected problem. We apologize for the inconvenience.
Detailed information about the error was logged, and an automatic notification generated. Weโll take a look at it.
No further action is necessary. However, if the error condition persists, you can provide additional detail, including steps to reproduce the error, by posting a discussion topic in the siteโs feedback category.
Iโve attached the info/backtrace/env logs which might be useful.
backtrace.txt (8.7 KB)
env.txt (568 Bytes)
info.txt (1.7 KB)
Hello Robert
Yes, the problem arises with a link from another site to the Topics map (or just by reloading this map).
I just installed your fix and the problem no longer occurs. Itโs perfect.
Many thanks for your work ![]()
Hello
Sorry I have a new feedback (but not one noted by @packman )
Since the update I have a display problem on the markers for topic locations ( not for user locations) โ the tooltip labels are not displayed on some markers.
The problem only occurs on Android smartphone (not on Windows Chrome) andโฆ randomly ![]()
A reload of the page will change the markers with the problem or fix it.
Here is an example :
โ Conventions JdR - Forums FFJdR
I encourage everyone to test this plugin and Events which work together ![]()
Stephane
That will be extremely hard to track down.
I will try to update to the latest Leaflet library at some point and we can see if that helps.
Iโm not sure if this is happening as a result of the last set of fixes but each new topic created by someone who has their location defined in their profile is being marked with their location. Perhaps this didnโt happen previously because our locations hadnโt been properly saved? Iโve looked for a config option to prevent this but canโt see one.
I do want users to be able to mark some topics with a location where a location is relevant to the topic, but not every new topic.