Hello, glad to see it works fine. I got some answers for you (not all though) right under your questions.
Regards, Sylvain Le samedi 8 septembre 2018 04:35:17 UTC, TonyM a écrit : > > Sylvain, > > Thanks so much for this, it worked right out of the box on my android > phone, with a prompt to access my geolocation. > > - Install the > > https://sycom.github.io/TiddlyWiki-Plugins/#%24%3A%2Fext%2Fmodules%2Fwidgets%2Fgeolocation-widget.js > - Then Place <$geoloc target="Geolocation Store" /> in a tiddler and > click. > > I see a lot of potential for this. But some questions arrise > > - Can we make it happen on startup > > Not the widget, but for sure the code might be reused for being launched in a macro at startup. I wouldn't do this on my website, since i'm not a big fan of automatic launch for anything. > > - How do we refresh the location as we move (with a click sure) > > For now the widget is not automatic. You will have to click again and again to store the points of your path. It would be possible to have an automatic GPS tracking, using watchPosition() instead of getCurrentPosition(). Not so hard to implement I guess with two alerts : * Must take care of a stop button using clearWatch() * Be aware that it may drain a battery > Also If I may draw yours and others attention to a great GeoLocation > solution https://what3words.com/ > Thanks for pointing this. A very interesting initiative. > > - I would love some help being able to translate the gps location to a > W3W word > - This needs plugins to support the w3w apis (Currently Outside my > skill set) > > I'm pretty sure it's not so hard to achieve once you got an API key using https://api.what3words.com/v2/reverse?coords=51.521251%2C-0.203586&lang=fr &key=MY-API-KEY and an xmlhttprequest() since the API support CORS. You should look into it <https://learn.freecodecamp.org/data-visualization/json-apis-and-ajax/get-json-with-the-javascript-xmlhttprequest-method/>, I learned code on my own resolving issues like this. By the way I don't think I will work on this now since Leaflet Plugin needs a lot more improvements and I don't have enough time for it already... > > - I have some powerful Ideas I would like to bring into reality if we > could do this > > I would be keen to establish a Yammer group to discuss Geolocation see > Geolocation SIG > at https://www.yammer.com/tiddlywiki > <https://www.google.com/url?q=https%3A%2F%2Fwww.yammer.com%2Ftiddlywiki&sa=D&sntz=1&usg=AFQjCNHWqGyZQpN2nt1KPt_Zkf7Uun00rg> > > and request an invite > > > > Best wishes, > Regards > tony > > > > > On Friday, September 7, 2018 at 8:19:05 PM UTC+10, SylvainComte wrote: >> >> Hello Jan (and others of course) >> >> I'm pleased to announce that the geolocation widget is now alive (it's no >> more a macro). The widget is included in the Leaflet Plugin but may also be >> installed alone since it doesn't require the leaflet library to work. >> Remember that due to security limitation, the widget will only work through >> https:// >> >> Get it from my collection : https://sycom.github.io/TiddlyWiki-Plugins/ >> >> best regards >> >> Sylvain >> >> Le lundi 3 septembre 2018 11:31:25 UTC+2, Jan a écrit : >>> >>> Salut sylvain, >>> great, please tell me when you did the update. >>> I am longing to test it. >>> >>> yours Jan >>> >>> Am 03.09.2018 um 08:50 schrieb SylvainComte: >>> >>> Hello Jan, >>> >>> I worked a few hours on the macro last week but discovered it's trickier >>> than I did expect. I think I will have to convert it to a plugin in order >>> to prevent the multiplication problem (which I didn't wan't since I found >>> this a bit "heavy"). >>> >>> For your workflow, I think you should use the "target" parameter of the >>> macro (called "tiddler" for now). But I can't be sure it works since I >>> didn't test it... >>> >>> I will make a release of a new version of the macro during this week, >>> but bugs will remain I'm affraid... >>> >>> best regards >>> >>> Sylvain >>> >>> Le dimanche 2 septembre 2018 22:26:43 UTC+2, Jan a écrit : >>>> >>>> Hello, hello Sylvain especially. >>>> Since the geolocation-mechanism of the plugin now works and creates >>>> points, I tried to make a create a workflow to create tiddlers with the >>>> new geolocation-plugin. >>>> https://www.szenio.de/Drehorte/ but it does not really work yet. >>>> >>>> >>>> >>>> The button multiplication-problem has become a little more active and >>>> somehow the leafletmacro causes an error. >>>> >>>> Perhaps you find out why... >>>> >>>> Jan >>>> >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "TiddlyWiki" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at https://groups.google.com/group/tiddlywiki. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/tiddlywiki/7d795fb0-fa78-4795-9cb5-59a26733d82b%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/tiddlywiki/7d795fb0-fa78-4795-9cb5-59a26733d82b%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >>> >>> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a442eb87-6c2e-4024-a2c5-a64da660ebe0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

