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?
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:
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 :
ā https://forums.ffjdr.org/c/e-irl/14/l/map
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.