kartevonmorgen / kartevonmorgen.ts

Mapping-Frontend to find and add sustainable Organisations (Initiatives, Companies) and Events on Kartevonmorgen.org / MapofTomorrow.org
https://kartevonmorgen.org/
GNU General Public License v3.0
11 stars 13 forks source link

Icons for main Categories #218

Closed wellemut closed 1 month ago

wellemut commented 7 years ago

Problem

To show only pins make the map look quite nice and calm but makes it hard to differentiate, what is on the map. In fact, people need a lot of time to finde a specific need, if they don't use the search function or if they don't know the corresponding tag. Sometimes it is also hard if you don't know what to search for.

Thanks to kartevonmorgen/kartevonmorgen#364 and kartevonmorgen/kartevonmorgen#776 we can show something like a legend and an easy way to filter. (Doku: https://blog.vonmorgen.org/kategorieauswahl/) But it is optically very poor, as it is only text. And on the map you do not have a fast impression of the kind of entry

Solutions:

First Step 2024:

Second Step

Third Step

Good Examples

Related issues

Make Pin colour adjustable https://github.com/kartevonmorgen/kartevonmorgen.ts/issues/5 Those Icons could be individual definable in iframes: https://github.com/kartevonmorgen/kartevonmorgen/issues/372 https://trello.com/c/kajWf0zI/352-hochschule-geisenheim-university

wellemut commented 6 years ago

Oder Oikos-Icons könnten wir auch nehmen: https://ecomap.global/karte-hamburg/

wellemut commented 6 years ago

We can download greenmap-icons here: https://drive.google.com/open?id=0B_t0LFHnCbFMdkdxY0FUOUVBVTA and here https://app.box.com/s/jva1kruu90jc38sei48j5s2b5z2wmxwe where I have shared them

wellemut commented 5 years ago

Agreement of Greenmap

---------- Weitergeleitete Nachricht ---------- Von: Wendy Brawer web@greenmap.org Datum: Dienstag, 7. November 2017 Betreff: [GreenMap] Important Green Map update!! Please read! An: Helmut Wolman helmut@bildungsagenten.com Cc: Manuel Hartmann manuel.hartmann3@gmx.net, Thao Tran tthao.tran13@gmail.com, David Ziegler david@slowtec.de

hello Helmut and colleagues, your platform is looking good, and you can use Green Map Icons, please see the CC license we choose after a long discussion. Happy to learn more about how you define what belongs on this future looking map!

all the best, Wendy

Wendy E Brawer

Director of Green Map System +1 212 674 1631 web@greenmap.org

On Nov 5, 2017, at 7:15 PM, Helmut Wolman helmut@bildungsagenten.com wrote:

Dear Wendy

Thanks for your notice about your new plattform-cooperations.

I am just curios, how many german Mapping-initiatives might be looking for a new Mapping tool. As our kartevonmorgen.org is growing more and more we would like to gather different initiatives around it. Just our english version is still needing some time, what makes it complicated globally.

https://www.kartevonmorgen.org/#/?center=51.4814,9.8877&zoom=6

Also the icons are still missing, which is a feature also needed as soon as we start printing maps.

Good-Luck!

Helmut

wellemut commented 3 years ago

Future Step

Optionally additional

viktoriabakun commented 3 years ago

I'll take this task

navid-kalaei commented 3 years ago

@wellemut some categories are assigned with multiple tags. for example "karte von morge" has kartevonmorgen kvm regpis thempis ideenhochdrei pioneersofchange pocsummit should the front end render icon for the first matching token kartevonmorgen or for all of the tags?

wellemut commented 3 years ago

if an entry has at least one matching tag, the corresponding icon shall be shown!

wellemut commented 3 years ago

if an entry as two matching tags for different icons, it will only show the icon of the first one.

navid-kalaei commented 3 years ago

if an entry has at least one matching tag, the corresponding icon shall be shown!

what happens to the other tags? for example "karte von morgen" has "kvm" and "kartevonmorgen" should both tags get the icon? or i have misunderstood?

wellemut commented 3 years ago

if you found the first matching tag, your icon for this entry is defined. Dont look, if there are more matching tags.

In the future, we might have "mainTags", that are more relevant than others. https://github.com/kartevonmorgen/kartevonmorgen/issues/834 But for now, just take the first you find.

navid-kalaei commented 3 years ago

@viktoriabakun asks me whether the icons and the pins are in one svg or we will have two layers one for the actual pin and one for the icon inside. I would strongly recommend to make them separate because in case of customizations like renn we'll need to change the color of pin without affecting the icon inside. what do you think @wellemut

and from where they can have the url of the icons?

wellemut commented 3 years ago

categories.csv

this file contains categories and Icon-URLS

wellemut commented 3 years ago

This seems to be working really nicely! @viktoriabakun grafik

grafik

Is it based on the categories.csv or hardcoded? If this is done like this, you can merge it to the kvm-code as well @navid-kalaei

wellemut commented 6 months ago

Markers gemeldet, mit dem die Trinkbrunnen auf der Karte von morgen markiert werden sollen, die zur EURO 2024 gebaut werden sollen

Tropfi-10 (1) Tropfi-06 (1) Tropfi-05 (2)

@navid-kalaei could you please estimate what this feature would need?

wellemut commented 6 months ago

@navid-kalaei here is another Network with a similar request.

But their Icons are rather pictures, so they should be much larger. Making it possible to set the size of these png or svg, maybe in relation to the zoom level, would be relevant. IMG_2060 IMG_2045 IMG_2046 IMG_2051

wellemut commented 5 months ago

Icon = 16x16px good examples: https://react-icons.github.io/react-icons/

wellemut commented 4 months ago
  1. Hashtags festelgen
  2. Einträge kartien
    • mit Haupt-Hashtag #hs-geisenheim
    • Subhashtags nach Handlungsfeldern ...
  3. Grafiken hochladen und Bild-adressen bei Einträgen hinterlegen.
  4. Karte auf HS Seite einbetten https://www.hs-geisenheim.de/hochschule/organisation/administrative-einheiten/hochschulentwicklung-und-nachhaltigkeit/?L=0 4. Einfache Icons auf Pin 16x16 px
  5. Großen Grafiken ab zoom 16 mit 500px
  6. Farb-Legende anzeigen?
wellemut commented 4 months ago

@navid-kalaei please start to implement the simplest possible solution.

navid-kalaei commented 3 months ago

@wellemut the feature is ready for testing on the dev domain:

https://dev.kartevonmorgen.org/m/main?c=50.1284%2C8.6468&z=13.00&mapColorMode=gray&search=refill

wellemut commented 3 months ago

The Icons are very small but beautiful! grafik (the useres should use even more simplier icons)

Bug;

wellemut commented 3 months ago

https://github.com/kartevonmorgen/kartevonmorgen.ts/blob/develop/public/projects/main/pins/dynamic_icons.csv Icon-Name from https://react-icons.github.io/react-icons/

Not any icon can be just used, but we have to import it to our repo in https://github.com/kartevonmorgen/kartevonmorgen.ts/blob/develop/components/MapMarkerIcon.tsx and deploy a new version.

wellemut commented 1 month ago

I started to describe the feature in the wiki: https://github.com/kartevonmorgen/kartevonmorgen.ts/wiki/Customization#icons