PreviousMap now works with CSS string
Detect map before parsing