geographer icon indicating copy to clipboard operation
geographer copied to clipboard

Seems like getCapital() functionality not works

Open mikolazp opened this issue 8 years ago • 2 comments

this code don't return any value $capital = $thailand->getCapital();

I'm check geographer-data dir, and seems like there not exist any info about capital of countries.

mikolazp avatar Apr 02 '17 10:04 mikolazp

yes, you are right :) I planned it but never added it. It's probably the only feature mentioned in the README that doesn't exist.

It's pretty easy to implement though

dusterio avatar Apr 02 '17 10:04 dusterio

It's pretty easy to implement though

Probably yes, but unfortunately I didn't get, where I can get this info in json files. This file not contain such info vendor/menarasolutions/geographer-data/resources/countries.json

mikolazp avatar Apr 02 '17 10:04 mikolazp