As long as it's not exposed by ol3, we should make sure that it works in prod. I would suggest copying the code and opening an issue.

Regarding the constants: I would create constant variables or add a comment.