Why a field can't be of type 'Geolocation' in a web form

I created a custom doctype where there is a field of type ‘geolocation’ and when I created a web form for the doctype then the field of type ‘geolocation’ is not getting displayed

when I added manually then getting this error