Questions tagged [city]
171 questions
0
votes
2 answers
How do you use JavaScript to get the current city the user is in and display it in a ?
$(document).ready(function(){
$("#getLocation").on("click", function(){
$.getJSON('https://geoip-db.com/json/geoip.php?jsonp=?')
.done (function(location) {
$('#city').html(location.city);
});
…

Ape
- 11
- 1
- 4
0
votes
1 answer
Auto populate city textfield by entering zip and vice versa
I've seen that this question has been posted a couple of times but nothing specific enough for me to use.
I have a form (In a .php file), with a Zipcode and City textfield. I also have a seperate database which holds all zipcodes and cities for my…

MadsK
- 119
- 4
- 11
0
votes
2 answers
How to separate City,State,Country in Excel
I found other things online regarding this situation, but it didn't really apply to mine as it is formatted different.
I have a spreadsheet with a column that containts a combination of, City,State,Country or State,Country and finally just Country.…

Michael Crane
- 3
- 1
- 8
0
votes
1 answer
Find name of city in background with AsyncTask
My goal is to get the name of the city the user is in using the coordinates from the LocationListener and matching that with Google's Maps API, in the background with AsyncTask.
When I call CityFinder from my MainActivity (onCreate), nothing is…

user3892791
- 95
- 9
0
votes
3 answers
In Android Google Map, how do I search address within specific city?
I am developing an app which is having a search box for address search. I have tried to use below link but it's only for country specific results.
A link for address search
I want it to search only specific city.

android_griezmann
- 3,757
- 4
- 16
- 43
0
votes
2 answers
Is there a meteor package to get a state if I enter a city or lat long coord?
I have searched stackexchange but can't find a module that creates the relationship between city, state and country.
If this doesn't exist then could you point me to a scheme db to recreate this. I also didn't want to fill out the db with this…

Vanleurth
- 3
- 1
0
votes
3 answers
ASP.NET MVC get list of cities by country without Database.
I need to do something like:
Show list of countries >> Select country -> show list of Cities.
So I have to get a list of cities by country but without using data in database.
Can anyone please suggest me a solution ?. I really appreciate your…

HungDQ
- 315
- 1
- 5
- 15
0
votes
1 answer
give the lat and lng,get the city of radius x mile
when use give a lat and lng ,i should give the city and State of US.
try to use google map place api, but it didn't has the place type
search in google, get some answers :
1.create the database of city data,and use the sql to calculate the…

Sun
- 75
- 7
0
votes
0 answers
PHP Paypal City error
im using the simple paypal checkout (Buy Now) Which works great with items from the Database,
The only problem is; im using Adress_Override, but i get an error whenever i get to the payment page;
There is a problem with the sendingadres. We…

Luc Stey
- 105
- 1
- 10
0
votes
1 answer
Multi column in nested query in select
I've this query in mysql:
set @dist=20;
set @earthRadius=6371;
SELECT *,SPLIT_STR(posizione_GPS,';', 1) as mylat,SPLIT_STR(posizione_GPS,';', 2) as mylon,(SELECT CALC_DISTANCE(mylat,mylon,cit.lat,cit.lng,@earthRadius) as distance FROM…

majinb_igor
- 11
- 6
0
votes
1 answer
Get the previous found geolocation address
I've got a script that gets user location. Problem is it takes some time to load, sometimes the string doesn't show up in the page.
Since I'm new to javascript I don't know what to do from here.
I'm now trying to add some function that sets a…

Pedro Soares
- 35
- 1
- 8
0
votes
0 answers
Duplicate city in search with Google Maps
I'm using google maps into my website, when i search Mira, google maps find me Mira in Portugal, but i want that one in Italy.
How can i do to make as first choice from search the Italian one Mira ?

Giuseppe Zagaria
- 27
- 6
0
votes
1 answer
API web site for forms-based data for all the countries, states and cities of the world
I am working on an application where I have to list on a form select lists all the countries, states and provinces, cities and it's very hard work to add them manually.
My questions are:
Is there any online service that allows me to list all…

Learning and sharing
- 1,378
- 3
- 25
- 45
0
votes
1 answer
Filling City From Google Api Only
I have an Asp Textbox. Now i want to integrate it to get cities of a specific country and provide autocomplete feature in it. That i accomplished using this.
var options = {
types: ['(cities)'],
…

Murtaza Munshi
- 1,065
- 4
- 13
- 40
0
votes
1 answer
how to simulate a traffic scenario for cars
im trying to do a project about routing cars through cities, the idea is to know the amount of cars that are on the streets so the vehicle can be routed through the less congested route.
For that i would need to install a gps on every car of the…

Eduardo Aguilera
- 15
- 3
- 6