Laravel: How to get map of countires states using antonioribeiro/countries package?

845 Views Asked by At

With antonioribeiro/countries package I get a list of states (Serbia) in table like this:

$countries = Countries::where('name.common', 'Serbia')
    ->first()
    ->hydrateStates()
    ->states
    ->sortBy('name')
    ->pluck('name', 'postal');

return view('countries.index', compact('countries'));

Is there a method to get a map with states borders in country map? Like this for example:

Serbia regions

In first page inf it has Geology and topology maps butI can't find this in docs.

0

There are 0 best solutions below