Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
0 answers
27 views

React Native specific locations

I am building a app using React Native. There is a functionality it needs that I cant figure out with what technologies to use to tackle it. I need to let users type and find a location like Places ...
Hecker's user avatar
  • 3
0 votes
1 answer
5k views

How to get Latitude and Longitude from address using react-google-places-autocomplete

I am using this package react-google-places-autocomplete and need latitude and longitude from address. By their documentation, there is a function but it keep says "This API project is not ...
Hassan bbits's user avatar
3 votes
0 answers
263 views

How to set location coordinates of that city when a button with city name is pressed in google places api in nextjs web application?

I'm building a NextJs web app where the user can explore various stores near him. I'm using google places Api to select location from the places dropdown. Based on the location the stores are ...
vinender singh's user avatar
0 votes
0 answers
385 views

How to display visitor's city AND state in WordPress?

I am trying to customize content on my WordPress website to display the user's city and state (e.g. Miami, FL). Here is what I have so far: function visitorcity_function() { $ip = $_SERVER["...
Cynthia's user avatar
  • 5,383
0 votes
0 answers
362 views

flutter Geocoder : Unhandled Exception: Connection closed before full header was received

Unhandled Exception: Connection closed before full header was received Hi Please assist, I am using Geocoder on my flutter app to get latitude and longitude from google places, Below is the code I use ...
thobani's user avatar
  • 71
2 votes
2 answers
178 views

How to evaluate the remoteness of a location given its coordinates?

I need to be able to evaluate how remote a location is given its geographical coordinates. I rate remoteness based off of a few key metrics, so far, I am only able to calculate a subset of all the ...
Rage's user avatar
  • 950
-2 votes
1 answer
38 views

ZERO_RESULTS in Retrieving the place type of a veterinary_care and pet_store Android Studio

I've been working on this Google Places search and usually I get results well but recently I cannot get anything but a ZERO_RESULTS for veterinary_care and pet_store but hospital works well. Why does ...
A_Bee's user avatar
  • 101
1 vote
0 answers
190 views

How to efficiently save and retrieve City, Region, Country

I need to save and lookup information regarding the Place of my database entities. Place can be either a city, region or country. I am looking the most efficient solution to save and retrieve this ...
Aaron Ullal's user avatar
  • 5,145
-1 votes
1 answer
1k views

Google API to detect location closest to the user from a list of locations

I have a phone app developed in Ionic which supposedly only supports a few stores. What I want to do is to use Cordova Geolocation to fetch the user's current location, and use it to find a store in ...
Sylph's user avatar
  • 151
1 vote
0 answers
44 views

More granular Google Places API

I need an API that will return addresses that includes apt numbers if available. Is this possible with Google Places API? If not, what is the suggested API to do so?
PotatoPeanut's user avatar
0 votes
0 answers
295 views

Trying to get dynamic location (latitude & longitude) to use it in Places api

I'm trying to build a small project where we get specific nearby places (schools, hospitals, cafes etc) around 5kms radius on clicking a radio button.Here I'm trying to use the geolocation to get the ...
Srikar Reddy's user avatar
1 vote
0 answers
118 views

Releasing PlaceBufferResponse

I am using PlaceBufferResponse in code below, but compiler says release is internal and don't use it, then how shall I release it? val placeResult = mGeoDataClient.getPlaceById(placeId) ...
AVEbrahimi's user avatar
0 votes
0 answers
269 views

Dynamically passing gps coordinates to Places API

I want to pass the current GPS location coordinates dynamically to Google Places API's location as parameters, but its not working. The location field in Google Places API request accepts only '...
wazza A's user avatar
0 votes
0 answers
971 views

Google Maps API: Getting the trains at a train station?

I can use the Google Maps API in the following way to fetch set of train stations near a location: var request = { location : new google.maps.LatLng( 40.7829, 73.9654) , radius : ...
oneCoderToRuleThemAll's user avatar

15 30 50 per page
1
2 3 4 5