support location info in custom elements views