Working with GeoLocation field in LWC Datatable
Things to keep in mind when you work with the GeoLocation field in LWC Datatable.
Have you ever worked with the GeoLocation field in LWC?
There is a good possibility for you to come across a bottleneck in case you follow the documentation.
The reason I say that is, the documentation says, when you want to display data in a datatable which includes a GeoLocation field then your columns property should look something like this.
But when you follow this code snippet it just shows blank fields and nothing much.
Here is the workaround for it ..
Here is the complete JS file of the web component.
Here is the HTML file
Regarding the Apex class it's going to be plain and simple.
Liked the post? Let me know what you think of it.