base for map rendering