Topic: What if I want to get more than one Place Type?

Hello.

What if I want to get more than one Place Type?
I wrote the following but could not get it.

OnlineMapsGooglePlaces.FindNearby(
            apiKey,
            new OnlineMapsGooglePlaces.NearbyParams(
                longitude, // Longitude
                latitude, // Latitude
                5000) // Radius
                {
                types = "church|park"
            }).OnComplete += OnComplete;

Re: What if I want to get more than one Place Type?

Hello.

I just checked Google Places API documentation and now type only takes one value and all the following are ignored.
https://developers.google.com/places/we … chRequests

Kind Regards,
Infinity Code Team.

uContext is Editor PowerPack (more than 40 tools) that take your workflow in Unity Editor to a next level, simplifies working with content, adds new features, corrects and improves the editor’s built-in behaviors. Click here to download uContext Basic for free.

Re: What if I want to get more than one Place Type?

I understand, thanks for the reply.