Questions tagged [location]

Location is a specific position in physical space, e.g. a point on the surface of the Earth described using latitude and longitude coordinates. This tag should NOT be used for questions related to the position of a virtual element e.g. position of a pixel on a bitmap or position of a layout element on UI (use [position] tag in that cases).

The term location is used to identify a point or an area in physical space, such as on the Earths surface or within a room.

A relative location is a description of position relative to another known site — for example, "2 miles north of London".

An absolute location is designated using a specific pairing of latitude and longitude in a Cartesian coordinate grid — for example, a Spherical coordinate system or an ellipsoid-based system such as the World Geodetic System—or similar methods.

The term location generally implies a relatively high degree of certainty of position.

9647 questions
2
votes
2 answers

Can't retrieve location in Flutter by geolocator

I'm developing a flutter app and and I made a class that retrieve current location using geolocator package and debugging by iOS Simulator and it doesn't retrieve any data. The icon of the location services just appears as hollow icon and no data is…
2
votes
3 answers

C# set location of a minimized form

I am developing an application in C#. I have a Main Form where I have some buttons that give the user the possibility to start a new form into the Main Form. When there are more of this kind of forms opened and the user choose to minimize one, it…
Emil Condrea
  • 9,705
  • 7
  • 33
  • 52
2
votes
2 answers

FusedLocationProviderClient not working correctly when Location turned on/off

I am using location to implement geofencing functionality (limiting app usage to one country) In first activity in application I am using FusedLocationProviderClient to get location like this: Init part fusedLocationClient =…
Dejan
  • 3,046
  • 3
  • 28
  • 43
2
votes
4 answers

Find coordinates of every link in a page

In Javascript: How does one find the coordinates (x, y, height, width) of every link in a webpage?
Justin
  • 20,509
  • 6
  • 47
  • 58
2
votes
1 answer

Location.requestForegroundPermissionsAsync is not a function

I just try to use expo-location and I found that error Location.requestForegroundPermissionsAsync is not a function this is my code import * as Location from 'expo-location'; const setCurrentLocation = async() => { let { status } = await…
Fatma Mahmoud
  • 89
  • 2
  • 13
2
votes
0 answers

How to generate a heat map of rental in jupyter notebook using ipyleaflet?

I am working on a dataset containing the rents of buildings in Paris by neighborhood and also the gps coordinates. I would like to make a heat map of the rents using the geographical coordinates of my dataset. image of the dataframe Any idea how to…
2
votes
1 answer

How to find the states/cities of any country in WooCommerce

I know that according to the method below I can get the country in woocommerce: global $woocommerce; $woocommerce->customer->get_shipping_country() or WC()->customer->get_shipping_country() But I want to know that how to find the states/cities of…
2
votes
1 answer

Using location.hash to activate jquery toggle/slideToggle

I have a list of a list that uses jquery toggle and slideToggle so that when items are clicked on, explanatory text slides out and the class changes on the h3. The html for the items looks like:
  • pg.
    • 2,503
    • 4
    • 42
    • 67

  • 2
    votes
    0 answers

    Android ForegroundService for background location

    From Android 11 I learned there are some restrictions related to background location, but from the documentation is not very clear to me if this affects a ForegroundService which has the foregroundServiceType="location" declared in the…
    Laura
    • 2,653
    • 7
    • 37
    • 59
    2
    votes
    1 answer

    Re ask location permission for flutter web

    Using location package to get Realtime location of user. it asks just first time to allow permission but if user denies it. Its not asking for permission again.
    Raza Abbas
    • 66
    • 1
    • 6
    2
    votes
    2 answers

    windows phone 7 how to navigate to settings menu

    I have a windows phone 7 app that uses GPS to track user position. Now the user can disable this feature through the phone's setting menu. the app handles this disabling fine and gives them a message. This is all pretty standard windows phone…
    yamspog
    • 18,173
    • 17
    • 63
    • 95
    2
    votes
    0 answers

    when i try retrieve snapshot from firebase by flutter does not retrieve any thing

    I found this website How to run a geo "nearby" query with firestore? for find nearby location from my current location when try write swift code to dart like in below it does not retrieve data, please till me what the problem ? void…
    Ghana
    • 21
    • 1
    2
    votes
    1 answer

    No location updates in foreground service Android Q(XIAOMI device) when activity is not visible to user

    I am making the prototype app, and it's only function is to recieve location updates from foreground service. I think I already read everything in Stackoverflow and in documentation about how to get location updates from foreground service. But app…
    Alex Rmcf
    • 804
    • 7
    • 14
    2
    votes
    2 answers

    HMS Location Kit, location updates working only if user select "Allow all the time"

    i'm editing an Android application in order to use both GMS and HMS. About Location Kit, i followed the docs and requested location updates, but task succeeds only when user give "Allow all the time" permission to location use. In manifest i've…
    2
    votes
    1 answer

    Coordinates from angle and distance in iPhone

    In my iPhone app, suppose I have the coordinates of the current location. I want to know the coordinates of a point 10km from here, and 30° North East for example. How do I calculate it? Thanks.
    Enzo Tran
    • 5,750
    • 6
    • 31
    • 36
    1 2 3
    99
    100