Open bagobones opened 1 year ago
I am another Overviewer user looking for a migration path.
Overviewer generates markers by providing all signs—or entities in general—to a user-defined filter function. If the filter function outputs some text, that text becomes a marker. User-defined functions are very easy in Python but hard in Java unless you bundle some kind of scripting interpreter like Groovy.
As a lightweight/easier alternative, how about a configurable regular expression? The Pattern
could use named fields to output both an icon
and some text
separately.
Here is my particular use-case. Signs look like this:
![home] Some
place where I
like to sleep
which might translate to something like:
{
"icon": "home.png",
"text": "Some place where I like to sleep"
}
Configurable options might need to be:
Pattern
to extract the icon and the name.png
) or some kind of text substitution macro for the icon
I am currently migrating from Overviewer to BlueMap and my users have populated the world with a lot of point of interest / marker signs already and I don't have a way to bulk update them.
Overviewer is dead now and has a fairly large user base, would be make for a nice migration path.
Would be nice to have a config file to set the match text to anything like "--POI--" and for it not to be strict about what lines the matching text is on.