Questions tagged [city]
171 questions
0
votes
1 answer
Search for city state zip
So i already have a database of locations of every city, state, zip.
I am currently working on how to do a search and get results of surrounding zip codes x miles away, and have run into some trouble.
I successfully have the search working for you…

Greg
- 1,045
- 4
- 14
- 30
0
votes
1 answer
Resolving search query & API call in ReactJS weather APP
I had this operational, now just blanking.. Just trying to search weatherBit API by city name for data below are my onChange and handleSearch (from child onClick) functions...
Below is my App.js component. thanks in advance.
constructor(props)…

Michael DeS
- 21
- 4
0
votes
1 answer
Restriction on city dropdown on checkout of woocommerce
down to the city checkout field on Woocommerce using the following code:
function change_city_to_dropdown( $fields ) {
include('citynames.php');
$city_args = wp_parse_args( 'citydelivery' , array(
'type' => 'select',
'options' =>…

UzairSalman
- 1
- 1
- 4
0
votes
1 answer
Get Local timezone using City Name in Java
Using City names (example. Abu Dhabi, Sydney,Dhaka,Paris etc.) need to find local time zone. 2 digit country code can be used

Sumeet Aggarwal
- 31
- 1
- 1
0
votes
1 answer
City Name validation Regex Swift 4
I have been trying to implement a regex validation for a given city name.
My regex should match cities names like:
NY
San Francisco
München
København
Saint-Tropez
St. Lucia
So far I've searched the web for such-like regex but I've been having a…

Mario Arámbula
- 55
- 1
- 7
0
votes
1 answer
Android: How can i find user's city via gps?
I develop a new application in android studio. I want to find user's city. I tried with Geocoder but some times it returns null. Is there any way that i can find user's city? I already know his latitude and longitude

kostas poimenidhs
- 69
- 1
- 9
0
votes
2 answers
JS how to return the amount of people that live in a city?
I'm new to coding and have been given this question but I cannot seem to make my code work. Dose anyone have any suggestions?
This is the question I have been given:
This function receives an array of people objects in for format:
[{ name: 'Sandra',…

Geo
- 439
- 2
- 5
- 15
0
votes
2 answers
Best way of splitting website into Cities/Countries?
i am running a dating website, or better say, try to. I want to be as generic
as possible in terms of, coverage for countries.
Since it's a local dating oriented website, i have to keep track of cities
and so on so i am running into a few…

Herr
- 2,725
- 3
- 30
- 36
0
votes
1 answer
Google Data Studio Region City
I'm trying to show the region's cities for the number of new users. It is working, as I'm getting the same data value as shown in Google Analytics. But visually the map image is greyed out (meaning there's no data) and when I hover over the map it…

Pc hobbit
- 96
- 1
- 11
0
votes
0 answers
HTTP_X_FORWARDED_FOR Not working on mobile network .Is there any solution? for getting City name based on IP
I have tried:
Request.ServerVariables["HTTP_X_FORWARDED_FOR"],
Request.ServerVariables["REMOTE_ADDR"],
Request.UserHostAddress;
And used: http://api.ipinfodb.com/v3/ip-city/?key={0}&ip={1}&format=json
for getting the City Name.
and published the…

Praveen Kumar Rejeti
- 213
- 2
- 10
0
votes
0 answers
Is there possible to get city name from REST Service Bing map?
I'm trying to making a form that can retrieve address, longitude, latitude and the city name..
I have try address, longitude and latitude but stuck in the city name
Here's the code