Correct widget code
maps generator