getMap and AutoComplete setCountry android

153 views Asked by At

getMap needs old gms playService but setCountry("") needs new gms playservice version.
How to use both of them in the Same Application??

  supportMapFragment = (SupportMapFragment) getSupportFragmentManager()
                .findFragmentById(R.id.map);

        googleMap = supportMapFragment.getMap();

//===================================================================

    AutocompleteFilter typeFilter = new AutocompleteFilter.Builder().setCountry("EG")
            .build();

    autocompleteFragment.setFilter(typeFilter);
0

There are 0 answers