Questions tagged [currentlocation]

Current Location refers to programmatically identifying the GPS location of a device, such as an iPhone app requesting information about its current location to display in a map or find nearby places, for example.

Current Location refers to programmatically identifying the GPS location of a device, such as an iPhone app requesting information about its current location to display in a map or find nearby places, for example.

See also:

221 questions
3
votes
2 answers

Get current location Android Kotlin

I try to get the current Location with GM API in my application (using Android Studio). But if i click the button which triggers the getLocation() funktion, i always end up in the catch{} block and i dont know why. My mobile device is connected for…
G. Lukas
  • 63
  • 1
  • 1
  • 9
3
votes
2 answers

android-How to check location is in special area?

I want to use google map in my android app in specific area. for example in special country. How can I check that my current location is in that place? updates: for example how to check that I am in New Delhi city
faeze saghafi
  • 650
  • 10
  • 25
3
votes
3 answers

Google Maps Embed API Current Location as starting point with iframe

What i'm trying to do is set an address as destination and as the origin (starting point) I would like to put the current location of the device, but i cannot find anything on line that works with the iframe, all i found is to key current location…
Benedetto
  • 71
  • 1
  • 2
  • 10
3
votes
1 answer

OsmDroid show current LocationIcon not working

I'm using OSMDroid in my Android App. Everything works fine except I can not display the Icon to show my current Location. Following my Code: openMapView = (org.osmdroid.views.MapView)…
Mojo
  • 377
  • 6
  • 18
3
votes
2 answers

Android Google Maps V2 current position latitude longitude NullPointerException

There are a lot of similar question but I don't find any solution for my problem. The setUpMap method is: private void setUpMap() { BitmapDescriptor iconm = BitmapDescriptorFactory.fromResource(R.drawable.m); BitmapDescriptor iconc =…
3
votes
2 answers

Set Custom Marker Icon at Current Location - Android API v2

I want to show a marker of my own choice in place of that default blue colored icon. How can I change the same. Currently I am adding it manually at current location. @Override public void onMyLocationChange(Location location) { …
Gaurav Arora
  • 8,282
  • 21
  • 88
  • 143
3
votes
2 answers

How do I update the map marker without changing the zoom that the user has set?

I have a Android App I am building that uses Google Maps with a location listener. When the map first comes up I have the zoom set to 12 in the location listener, I am fairly new at Google Maps development so I was wondering how I can update the…
yams
  • 942
  • 6
  • 27
  • 60
3
votes
1 answer

Foursquare iPhone API nearby places

I'm new to Foursquare API and I couldn't figure out how to get nearby places given the current location? I looked at a lot of samples about this but I couldn't make it work.
Gokhan Gultekin
  • 291
  • 5
  • 15
2
votes
1 answer

Embedding current location ( longitude and latitude ) in the Google Places API

I am trying to integrate Google Places API into my iOS app. I am referring to this blog : http://iphonebyradix.blogspot.com/2011/07/working-with-google-places-api.html Now I am finding out my current location of the iPhone, how do I embed the…
2
votes
1 answer

How to display current location in a map with Windows Phone 7

I want to get current location in Windows Phone 7 and display it on a Bing Map (on WP7) at the same time.
MarTech
  • 115
  • 3
  • 12
2
votes
0 answers

Is there a way to make Maps and Current Location load faster in React Native?

I have 4 Map Screens in a Stack Manager that lets my users see their current location as they complete tasks. After they complete a task, it sends them to the next maps screen, until that task is complete. There is sometimes a significant amount of…
2
votes
1 answer

Save file on google drive

Hey I'm trying do application where i check my current location and save this location in ".txt" files. My application save this location in every "user set time" seconds. And it's work. Also I want add save files to Google drive. But I don't know…
2
votes
0 answers

How to resolve "Unhandled Exception: type 'List' is not a subtype of type 'PlaceDetails' "?

I want to draw Polyline from my current location to another dynamic location. But sometimes it's being draw but sometimes throwing exception when I search places with flutter_google_places plugin. Unhandled Exception: type 'List' is not a…
Shruti Ramnandan Sharma
  • 4,027
  • 13
  • 44
  • 76
2
votes
0 answers

Getting Location Time out in google place api?

Hi I am fetching current location detail using google place api. List placeFields = Arrays.asList(Place.Field.NAME, Place.Field.LAT_LNG); FindCurrentPlaceRequest request = …
2
votes
1 answer

myLocationEnabled changing to isMyLocationEnabled on swift when using GoogleMaps

Im trying to get a users current location to show with google maps API. I have been struggling with this issue for weeks and the code runs but doesn't update to current location when I change the location in the simulator. My code is below and…
Assel Kash
  • 111
  • 3
  • 17
1
2
3
14 15