Start a new topic

Google Places Api with Wikitude

Google Places Api with Wikitude


I'm new in Wikitude. I'm iOS developer.

I need to integrate Wikitude and Google Places Api, we want to build feature like what in Wikitude sample app on Apple/Google store.

Labels on places related to camera direction.

So, Any start up tutorials, links or advise to begin ?

 

Thank you,

Heba

Hi Heba,

As mentioned via the mail thread, you can find details on the Google Places API here.  Have a look at Places Search - this should help you get details on how to retrieve POIs from the API.

Have a look at the following samples from our sample app for details on how to work with the POIs:

Point of Interest
Retrieving POI data
Browsing POIs

You can work with the documentation together with the sample app to get details and see how the code works.

Thx

Nicola

Thank you Nicola, that was useful and I could to make this integration.

But I found some issues and don't know the resoane.

This is the log, what can that mean ?

 

Wikitude SDK: GeoObjectInterface::setLocations: Unknown location (177)

Wikitude SDK: ARObjectInterface::setCamDrawables: Unknown drawable (178)

Wikitude SDK: ARObjectInterface::setCamDrawables: Unknown drawable (179)

Wikitude SDK: ARObjectInterface::setCamDrawables: Unknown drawable (180)

Wikitude SDK: ARObjectInterface::setCamDrawables: Unknown drawable (181)

Wikitude SDK: GeoObjectInterface::setRadarDrawables: Unknown drawable (183)

Wikitude SDK: GeoObjectInterface::setRadarDrawables: Unknown drawable (182)

Wikitude SDK: Location (78): Location is not valid.

Wikitude SDK: Location (87): Location is not valid.

Wikitude SDK: Location (96): Location is not valid.

Wikitude SDK: Location (105): Location is not valid.

Wikitude SDK: Location (114): Location is not valid.

Wikitude SDK: Location (123): Location is not valid.

Wikitude SDK: Location (132): Location is not valid.

Wikitude SDK: Location (141): Location is not valid.

Wikitude SDK: Location (150): Location is not valid.

Wikitude SDK: Location (159): Location is not valid.

Wikitude SDK: Location (168): Location is not valid.

Wikitude SDK: Location (177): Location is not valid.

 

That and points are drawn on screen.

Thank you,

Heba

Hi,

These error messages appear when the objects have been destroyed (through the destroy() or destroyAll() method), but you are still referencing them in your JavaScript.

Can you please check whether you call destroy() (on a particular object) or destroyAll() at some point in your code, and if you access these objects lateron again.

Thanks,

Martin

Actually, I use basic Wikitude Examples code. So, I didn't use destroy/destryAll methods. Even if the basic examples SDK uses it.

Also, I have another question, 

I succeed to make integration between Wikitude with Google Places on iOS.

I make a table of places types like: Cafe, Bank, Hospital ... etc.

It works great, but every time I show wikitude markers (for any place type) and Back to table of types, my app memory increased ~ 20 Mega.

After some choices from table, Memory leak and app crash.

 

So, How can I close/delete/release last Wikitude try/using to can restart it after that without Memory increases and crash ?

 

Thank you,

Heba

answered here!

please post your question only in one thread and not multiple ones. Asking the same question in multiple threads will not speed up our response but only create confusion!

Best regards

Andreas
Login or Signup to post a comment