get map to work with or without lines