3

I have GMSPlace object, but in iOS SKD so small information, it's killing me!

Is it possible use another library, not only Google to get information about some address with detail information - some like historical help.

For example i want get information like google map do

enter image description here

Dmitry Nelepov
  • 7,246
  • 8
  • 53
  • 74

2 Answers2

1

Most of information what you are looking can be extracted from the Google Places services called “Place Detail”. To get most of this information you need to have placeid. One way to get placeid is to do “Place Search”. Supported types is here.

As well in your screenshot I see reference to the wikipedia. Wikipedia have its own API. Question was asked about it some time ago here.

Community
  • 1
  • 1
Ramis
  • 13,985
  • 7
  • 81
  • 100
0

As @Ramis answered, You should check the "Place Detail" of "Google Places services"

There's a public API to get Detail information by passing PlaceID:

https://maps.googleapis.com/maps/api/place/details/json?placeid=#{PLACE_ID_FROM_GOOGLE_PLACES}&key=#{YOUR_API_KEY}

The documentation is here: Google Places API Web Service

I have tested this with Google Maps SDK for iOS version 1.10, the Demo has a places list, each place has a placeID, you can get detail by passing it to the link above.

But I don't know Google Places services will output something relative to Wikipedia or not.

Black.Lee
  • 344
  • 2
  • 7