mptwaktusolat / app_waktu_solat_malaysia

Prayer times app for Malaysia. Accurate data from JAKIM. Install the app on your phones now.
https://play.google.com/store/apps/details?id=live.iqfareez.waktusolatmalaysia
GNU General Public License v3.0
46 stars 22 forks source link

False detect as out of Malaysia #207

Closed iqfareez closed 1 year ago

iqfareez commented 1 year ago

So I'm now at Darul Iman Training Centre (DITC) Kemaman, Terengganu. Maps: https://maps.app.goo.gl/ucHfbWYkgYGEERRP7

Upon determinng my current location in prayer time app, it is appear the result return out of Malaysia.

Screenshot_2023-09-14-01-04-00-731_live.iqfareez.waktusolatmalaysia-edit.jpg

Upon inspecting the app's debug dialog, the determined location is Latitude: 4.2737647, Longitude: 103.4741186

Plugging the value into Google Map, the dropped in doesn't seem to far from the DITC

image

Insomnia request link: https://mpt-server.vercel.app/api/zones/gps?lat=4.2737647&long=103.4741186

iqfareez commented 1 year ago

Maybe because of the geojson polygon didn't cover the whole area

image

From file: https://github.com/mptwaktusolat/malaysia.geojson/blob/master/malaysia.district-jakim.geojson

iqfareez commented 1 year ago

Fixed

Screenshot 2023-10-15 at 10 24 33 AM