This function gets called a lot (once per render per visible map), so could hurt perf.
It only needs to be evaluated once, so can be wrapped in a Lazy to avoid that.