File tree 1 file changed +33
-7
lines changed
1 file changed +33
-7
lines changed Original file line number Diff line number Diff line change @@ -745,13 +745,39 @@ <h2>
745
745
</ li >
746
746
</ ol >
747
747
</ li >
748
- < li > If acquiring a position fails:
749
- < ol >
750
- < li > [=Call back with error=] passing |errorCallback|
751
- and
752
- {{GeolocationPositionError/POSITION_UNAVAILABLE}}.
753
- </ li >
754
- </ ol >
748
+ < li > If acquiring a position fails because of one of the
749
+ following reasons:
750
+ < dl class ="switch ">
751
+ < dt >
752
+ Underlying system denies permission:
753
+ </ dt >
754
+ < dd >
755
+ < p >
756
+ [=Call back with error=] passing |errorCallback|
757
+ and
758
+ {{GeolocationPositionError/PERMISSION_DENIED}}.
759
+ </ p >
760
+ < aside class ="note " title =
761
+ "Browser permission VS OS permission ">
762
+ < p >
763
+ On certain platforms, there can be a
764
+ circumstance where the user has
765
+ [=permission/granted=] the user agent
766
+ permission to use Geolocation, but the permission to
767
+ access location services has been denied at the
768
+ OS level.
769
+ </ p >
770
+ </ aside >
771
+ </ dd >
772
+ < dt >
773
+ Data acquisition error:
774
+ </ dt >
775
+ < dd >
776
+ [=Call back with error=] passing |errorCallback|
777
+ and
778
+ {{GeolocationPositionError/POSITION_UNAVAILABLE}}.
779
+ </ dd >
780
+ </ dl >
755
781
</ li >
756
782
</ ol >
757
783
</ li >
You can’t perform that action at this time.
0 commit comments