Monday, 15 September 2014

Mirror API and Navigation -



Mirror API and Navigation -

i want create menuitem, in turn open navigation map or can used navigation. google glass mirror api back upwards this?

if yes, right way it?

from can see in docs, can create map. doesnt triggering navigation.

thanks in advance

to this, you'll need insert timeline item has 2 pieces of info aren't included:

you need create menuitem action of "navigate" your timelineitem needs have location set (which navigate to)

see https://developers.google.com/glass/v1/reference/timeline/insert more creating timelineitem , https://developers.google.com/glass/v1/reference/locations more more location object. if inserting card allow people navigate google hq, json representation might this:

{ "text": "go google hq", "location": { "latitude": 37.422, "longitude": -122.084058, "displayname": "googleplex", "address": "1600 amphitheatre pkwy, mount view, ca 94043" }, "menuitems": [ "action": "navigate" ] }

google-mirror-api

No comments:

Post a Comment