TerriaJS / neii-viewer

Data viewer for National Environmental Information Infrastructure
http://neii.gov.au/viewer/
Apache License 2.0
8 stars 4 forks source link

Styling properties for Geometry point type in GeoJSON file #185

Open martin-bom opened 3 years ago

martin-bom commented 3 years ago

Hello, Is there a way that I can assign color style to points shown on the Map? Enclosed is the sample GeoJSON file I try to load on the NEII Viewer but the point color seems to be randomly assigned. Thank you.

sample_point.zip

AnaBelgun commented 3 years ago

hi @martin-bom we might be able to assign manually. currently is not possible to customise them in the UI. What are the colours you need changing?

martin-bom commented 3 years ago

Hi @AnaBelgun we received feedbacks from our users when using the Data Viewer with their own geojson file.

When they drag only one file to the Data Viewer, it is okay that color cannot be assigned. However if they want apply more than one file to the Data Viewer, it will be a bit confusing which color belongs to which dataset.

e.g. http://catalogue-staging.neiiviewer.nicta.com.au/#share=s-u8vnNR1oNyM62UX2zcv3UIJbUl2

So if they can set the color (e.g. marker-color/fill) in the geojson file, that will help.

Thank you very much.

AnaBelgun commented 3 years ago

@martin-bom I'll find out for you and comment in here