Actually it was very obvious, but I didn't see it. The String method = "save";
accepts only String
type and I was trying to pass double
with Latitude
and Longitude
. So I just turned doubles to Strings using;
Latitude = String.valueOf(latLng.latitude);
Longitude = String.valueOf(latLng.longitude);
Thanks for help!