I tried to use @Erel code from this link
https://www.b4x.com/android/forum/threads/google-maps-position-without-animated.79520/#post-503491
but the following error appeared
** Activity (map_loc) Resume **
Error occurred on line: 38 (Map_loc)
com.google.maps.api.android.lib6.common.apiexception.c: MyLocation layer not enabled
at com.google.maps.api.android.lib6.common.m.bcom.google.android.gms.dynamite_mapsdynamite@201216065@20.12.16 (100400-0):6)
at com.google.maps.api.android.lib6.impl.bi.jcom.google.android.gms.dynamite_mapsdynamite@201216065@20.12.16 (100400-0):2)
at com.google.android.gms.maps.internal.i.acom.google.android.gms.dynamite_mapsdynamite@201216065@20.12.16 (100400-0):137)
https://www.b4x.com/android/forum/threads/google-maps-position-without-animated.79520/#post-503491
but the following error appeared
** Activity (map_loc) Resume **
Error occurred on line: 38 (Map_loc)
com.google.maps.api.android.lib6.common.apiexception.c: MyLocation layer not enabled
at com.google.maps.api.android.lib6.common.m.bcom.google.android.gms.dynamite_mapsdynamite@201216065@20.12.16 (100400-0):6)
at com.google.maps.api.android.lib6.impl.bi.jcom.google.android.gms.dynamite_mapsdynamite@201216065@20.12.16 (100400-0):2)
at com.google.android.gms.maps.internal.i.acom.google.android.gms.dynamite_mapsdynamite@201216065@20.12.16 (100400-0):137)