Thanks for your support. Can you provide me a example (or a link) for use OpenStreet Maps in context?
Perhaps I can track my displacements with my phone and superimpose those tracks with the OpenStreet Maps. Jorge 2017-05-04 11:26 GMT+01:00 Mojca Miklavec <mojca.miklavec.li...@gmail.com>: > Hi, > > On 3 May 2017 at 23:12, DesdeChaves wrote: > > Dear Sirs > > > > I need to justify my displacements from my school to the various > companies > > where I have students in training. For this I must include in my report a > > gloogle maps image with the path and the distance covered. > > > > In the browse o found all the information that I need. For example, with > an > > url address like: > > > > http://maps.googleapis.com/maps/api/distancematrix/json? > origins=Seattle&destinations=San+Francisco&mode=driving&sensor=false > > > > i get a json response, but not the google map image. > > > > If I try an address like this > > "https://www.google.pt/maps/dir/Chaves/Valpaços/" I found all > information in > > the browser, but I need to include it in my context document report. > > > > Anybody know a simply way to make this work or this is a too hard task > for > > now. > > This is not really a ConTeXt-related question, but ConTeXt can include > any image you can feed to it, and potentially fetch images from URL on > the fly. So you first need to figure out how to get the image you > want. > > See: > https://developers.google.com/maps/documentation/static-maps/intro > > You first need your own API_KEY. > > If you have problems with the interface, ask on stackexchange or > elsewhere. If you have problems with making as automatic workflow as > possible (once you know how to get your PNGs exactly), you may ask > here. But have the rest of the details ready. > > ConTeXt supports "natively" drawing OpenStreet Maps, but I doubt it > would work in your case. > > Mojca > ____________________________________________________________ > _______________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/ > listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ____________________________________________________________ > _______________________ -- Atentamente DesdeChaves
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________