Add support for map grid (i.e. grid-lines).
Reason for deletion: we decided to roll back the implemented grid lines due to a large performance hit.