Hi Peter,
I looked at the CalculateGeo code and its implemented specifically for the Location object in the google maps module. If you don't want to use that entity you can change the java action code to set the longitude and latitude attributes of a different entity.
To do that first you would need to change the parameter object type in the java action to the entity that you want to use.
Then you would need to open the code up in eclipse or Intellij and change the setLatitude and setLongitude to the new latitude and longitude attributes.
Here is a link for editing java actions in eclipse.
https://docs.mendix.com/refguide/using-eclipse
Hope this helps!
Thank you for your quick response
I will try tomorrow (it's bedtime over here :-) )