Questions tagged [country]
448 questions
4
votes
1 answer
How to add a country select dropdown in angular?
I was working on a ecommerce project which needed a login where country code need to be selected for the mobile login. Is there any packages for angular that can provide me country select dropdown with flags?
NB: Flags are good to have feature, if…

AMAL MOHAN N
- 1,416
- 2
- 14
- 26
4
votes
1 answer
How do I pull the Country field out of an ABAddressBookRef?
I'm having trouble understanding how to access the properties of an address in a an ABAddressBookRef. I've done it okay with telephone numbers:
ABMultiValueRef phoneNumberProperty = ABRecordCopyValue(person, kABPersonPhoneProperty);
NSArray*…

jowie
- 8,028
- 8
- 55
- 94
4
votes
6 answers
How to get City and Country of a user in android without GPS?
How to get a users City and Country from an application in Android without GPS?

gkaykck
- 2,347
- 10
- 35
- 52
4
votes
3 answers
Make checkout country dropdown readonly in Woocommerce
I want country dropdown on woocommerce as readonly.
I already set the default country to australia but I want them to be readonly.

pink widow baby
- 55
- 2
- 11
4
votes
4 answers
Django - Country -> State-> City Dropdown list
I have been trying to create a 3 column drop-down list as Country, State, City.
The list of state will be shown based on which country is selected. and the same thing happens to city depends on which State is selected.
My database is as follow. If…

Ryan
- 51
- 1
- 1
- 5
4
votes
0 answers
Cities names list against a selected country in iOS?
I am working on an iOS App in which i want to get the temperature of different cities in different countries. I am able to get the country list which is a local csv file, but i would like to get the cities list against the country which i selected.…

Nisar Ahmad
- 885
- 1
- 10
- 25
4
votes
3 answers
Show PHP pages as image
Hi I have some PHP script that show country flag based on visitors ip
flags.php
require 'ip.php';
$ip=$_SERVER['REMOTE_ADDR'];
$two_letter_country_code=ip_info("$ip", "Country Code");
//header('Content-type:…

LaCalienta
- 43
- 2
- 13
4
votes
4 answers
How to find user's country
I am building a Cordova app for android platform.
I need to get the user's country.
I know that the geolocalisation gives the GPS coordinates.
Is there a way to have the country without using any external API? if not possible what is the best…

Cabtine Yassine
- 51
- 1
- 2
4
votes
1 answer
Place a marker in each country with mapbox
I am using Mapbox to build a multiple choropleth map.
Something along the lines of this example, https://www.mapbox.com/mapbox.js/example/v1.0.0/choropleth-joined-data-multiple-variables/
I am using countries instead of US states however.
I've got…

Peter Bierman
- 363
- 3
- 16
4
votes
4 answers
where magento stores country full name
I have spent hours searching to find where magento stores full county name.
We can get a full list of countries using this code:
$_countries = Mage::getResourceModel('directory/country_collection')
->loadData()
->toOptionArray(false);
This…

rramiii
- 1,156
- 6
- 15
- 29
4
votes
3 answers
Magento : How to get countryID from selected / entered shipping address
I'm trying to hide some text / code based in the shipping_method.phtml based on whether the country of the selected or entered shipping address is France or not in .
The only code I found was…

Kim Herman
- 61
- 1
- 1
- 3
4
votes
4 answers
Magento - Customer Address Country Dropdown Issue
I'm using Magento CE 1.7.0.2, having recently upgraded from 1.4.2.0. And when editing/creating a customer address in the backend, the country dropdown field is blank - with no possible options to select. Neither does it work on the frontend address…

mattpark22
- 741
- 2
- 14
- 26
4
votes
3 answers
Is it possible to determine the user locale's **country** as set in the OS from the browser in JavaScript?
Do web browsers have an interface to access any of the locale settings as set in the operating system by the user?
I can detect what country the user is currently in from their IP address or using the new geolocation API, but I'm writing a browser…

hippietrail
- 15,848
- 18
- 99
- 158
4
votes
2 answers
I want the map to show the Netherlands only
This is my init function to load the map, I want it to show only the Netherlands, zooming in should be possible but zooming out should'nt. I searched all over, but I can't find a proper explanation on how to do this.
var config = {
zoom:…

Pepijn
- 1,204
- 1
- 11
- 25
4
votes
1 answer
How can query ALL iTunes store fronts of all countries?
I have an iTunes appID of 9 digits.
When I query itunes with a US store
http://itunes.apple.com/us/app/id508611913
it does not work.
When I try it with a Great Britain (UK) store front
http://itunes.apple.com/gb/app/id508611913
then it works.
If i…

adam
- 41
- 1
- 3