小编Ale*_*ley的帖子

是否可以过滤谷歌地方选择器

是否有可能过滤google placepicker显示的位置,让我们说只有超市?否则,我最好如何创建这样的视图?

mGoogleApiClient = new GoogleApiClient
            .Builder(this)
            .addApi(Places.GEO_DATA_API)
            .addApi(Places.PLACE_DETECTION_API)
            .addConnectionCallbacks(this)
            .addOnConnectionFailedListener(this)
            .build();

 int PLACE_PICKER_REQUEST = 1;
        PlacePicker.IntentBuilder builder = new PlacePicker.IntentBuilder();
    try {
        Context context = getApplicationContext();
        startActivityForResult(builder.build(context), PLACE_PICKER_REQUEST);
    }
    catch (Exception e) {

    }
Run Code Online (Sandbox Code Playgroud)

google-maps google-places-api

3
推荐指数
1
解决办法
2731
查看次数

标签 统计

google-maps ×1

google-places-api ×1