function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
abhijeet bholabhijeet bhol 

IN VF PAGE DOESNOT TAKE GEO LOCATION FIELD AS INPUT FIELD WHY?

KaranrajKaranraj
Compound fields can’t be used in Visualforce. Use the individual field components to access or update field values.
Example 
myObject__c.aLocation__latitude__s;
myObject__c.aLocation__longitude__s;
Read and set geolocation field components by appending “__latitude__s” or “__longitude__s” to the field name, instead of the usual “__c.”
 
Sagar PareekSagar Pareek
You need to use __s instead of __c in api name.
abhijeet bholabhijeet bhol
Thanks Sagar and Karanraj..........yes it is working.....