martindholmes / BreezeMap

BreezeMap is a project to create a simple user interface for interactive map and facsimile editing based on TEI XML and OpenLayers 4+.
MIT License
11 stars 3 forks source link

Feature request: custom icons #39

Closed gtnewton closed 3 years ago

gtnewton commented 3 years ago

Allowing the use of custom icons for places would make the visual identification of places (or 'events' on the timeline) more intuitive. For example, a festival AND an oil spill in the same time period may appear on the map simultaneously. Using the standard 'location' icon for each requires the user to figure out the significance of each. Custom 'oil spill' and 'festival' icons would make clear the significance of each place.

martindholmes commented 3 years ago

This requires that images be specified in the XML somewhere, presumably in the categories -- or would you want to specify them in the actual places, so each place could have its own icon?

gtnewton commented 3 years ago

I think that assigning icons to categories makes the most sense. It keeps the page tidier and is relatively easy to assign while creating categories.

martindholmes commented 3 years ago

OK, in progress now...

martindholmes commented 3 years ago

This is now working, and there's an explanation of how to define the icon in the documentation.