Map Parameters
The parameters for glass://map are a subset of the parameters you would use from Google’s Static Maps API.[33]
w | The width of the map in pixels. |
h | The height of the map in pixels. |
center | Center the map at this location, either with a comma-separated pair (latitude,longitude) or some unique address (for instance, Voodoo+Donuts,+Portland,+OR). If center is chosen, zoom is also needed. |
zoom | Represents how closely the map is zoomed in on the center location, as a number from 0 (the entire world) to 21+ (building level). If zoom is set, center is also needed. |
marker | A pin on the map, defined by a type or location. If the type is 1, indicate Glass’s latest location. Otherwise, pin a latitude-longitude pair. Without center and zoom defined, the ... |
Get Programming Google Glass now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.