plepe / OpenStreetBrowser

An application to ‘browse’ the information in the displayed part of the map. Similar to common Wikis and also the main page of http://www.openstreetmap.org the website shows a narrow menu on the left side, most of the page is used for the display of the map. In contrast to most Wikis the menu is not static, but rather the content of the map can be browsed in categories. For the map a special style has been developed (sorry guys, I neither like the default Mapnik nor Osmarender styles), and special overlays are displayed to support the current browsed categories. When you click on an object (either from the list or directly on the map) informations on this object are displayed.
http://www.openstreetbrowser.org
GNU General Public License v3.0
88 stars 20 forks source link

[question] adding checkboxes #177

Open govvin opened 1 year ago

govvin commented 1 year ago

how do you add checkboxes to filter options like how it's done below: image

I couldn't find the repo that refers to the above photo.

plepe commented 1 year ago

You have to set the filter to type "checkbox".

The repository seems to be hidden, that's why you can't find it. You can check the "Sport" category though, I'm using a checkbox filter there.

You are welcome to ask additional questions :-)

govvin commented 1 year ago

Thank you! I'll check it out soon.

I do have a few more questions 😅 (tried searching, but found no answers):

My apologies for misusing the tickets for that. Please let me know if there's anywhere else where better to ask questions.

On Tue, Apr 18, 2023, 15:00 Stephan Bösch-Plepelits < @.***> wrote:

You have to set the filter to type "checkbox".

The repository seems to be hidden, that's why you can't find it. You can check the "Sport" category though, I'm using a checkbox filter there.

You are welcome to ask additional questions :-)

— Reply to this email directly, view it on GitHub https://github.com/plepe/OpenStreetBrowser/issues/177#issuecomment-1512546387, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMNJ6H3L5M7WW7KZV27QG3XBY3ZFANCNFSM6AAAAAAXCAHC6U . You are receiving this because you authored the thread.Message ID: @.***>

plepe commented 1 year ago

Is there a way to set a background layer through the URL to override the default? ( i e. I want to share a link that specifies the Cyclosm or Humanitarian as background layer)

I created a separate issue for this.

how does one manually add checkbox value options for a specific query? There's a large number of service:vehicle:*= yes tags that I don't really want to parse right now, but a subset is interesting.

Something like this:

type: checkbox
name: Whatever
values: ['value1', 'value2']

I'm curious. How does one hide a repo?

In the repository settings, check 'private repository'. The repository selection in OpenStreetBrowser ignores this settings, that's why it is listed anyway.