Salut Sylvain,
Aaah,...but it is something else. The button does not work even though
the point is already set.
Somehow setting the field does not work. I really do not know why.
I would like to use this indirect approach because by this means I can
-control the position on the map before creating a tiddler.
-automatically navigate to the new Tiddler.
-apply a tag ("like not exported yet") which i need to generate an
export of the newly created entries via php.
Selfisch reasons...but necessary for me
Salut Jan
Am 25.09.2018 um 17:14 schrieb SylvainComte:
Hi Jan,
- I think you can force your site to use SSL by using .htaccess file
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
- If I get your mechanism
* As you call <$geoLoc /> with "Position" target, the point is
saved in a new tiddler called "Position",
* so when you click on "Eintrag erzeugen", you copy the point
field of "Position_speichern" (and not the one in Position you just
stored) in your new tiddler.
but as often with tiddlywiki when using variables in variables there
is something that broke up.
I suggest you something more straightforward :
<$edit-text tag="input" tiddler="$:/temp/newloc"
placeholder="Titel des neuen Ortes"/>
<$set name=target value={{$:/temp/newloc}} > <$geoloc
target=<<target>> />
</$set>
You may enhance this with a dropdown list of geoTiddler you can
pick-up (to complete them with new point)
cheers
Sylvain
Le lundi 24 septembre 2018 23:05:57 UTC+2, Jan a écrit :
Salut Sylvain, Hi everyboy!
The widget works, but I have two problems
-How can I force a site to open in https?
-I tried to make a mechanism to create a new LocationTiddler with
a chosen Name
I made this Position_speichern(Save position) Tiddler here but I
cannot fint out why it does set the point...
!<$geoloc target="Position" />
<$list filter="[all[current]has[point]] [all[current]has[points]] ">
<$edit-text tiddler="$:/temp/newloc" placeholder="Titel des neuen
Ortes"/>
<$list filter="[{$:/temp/newloc}minlength[4]!is[tiddler]]">
<$button class="tc-btn-big-green"> Eintrag erzeugen
<$list filter="[[Position_speichern]has[point]]">
<$action-setfield $tiddler={{$:/temp/newloc}} $field="points"
$value={{Position_speichern!!point}}/>
</$list>
<$list filter="[[Position_speichern]has[points]] ">
<$action-setfield $tiddler={{$:/temp/newloc}} $field="points"
$value={{Position_speichern!!points}}/>
</$list>
<$action-navigate $to={{$:/temp/newloc}}/>
<$action-deletefield point points/>
</$button>
</$list>
</$list>
It can be found an tested here:
https://Szenio.de/geo
Greetings Jan
Am 12.09.2018 um 09:06 schrieb SylvainComte:
Hi Sylvain,
As I pretty much like hearts, I'll go for a post there ;-)
I also noticed that bug with osm tiles. Seems they've reduced
zoom range for their tile provider. I should edit the json tile
file...
cheers
Sylvain
Le lundi 10 septembre 2018 23:16:12 UTC+2, Sylvain Naudin a écrit :
Great Sylvain !!
If we where in French Discourse I'll put a red heart on post :D
Just tested online over https, it's quite good GPS position
of my home with mobile phone. Very promising possibilities
for OSM mapping party to collect data.
Notice that max zoom doesn't load OSM map, and have to
de-zoom once to get tiles rendering request.
Thanks !
Sylvain
Le vendredi 7 septembre 2018 12:19:05 UTC+2, SylvainComte a
écrit :
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/
<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/
<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
<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
<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] <javascript:>.
To post to this group, send email to [email protected]
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki
<https://groups.google.com/group/tiddlywiki>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/d7dbc9cc-1b76-4303-a841-c78136b8e32c%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/d7dbc9cc-1b76-4303-a841-c78136b8e32c%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout
<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]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[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/e636d7dc-2314-4af9-bd42-7143a367a7a9%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/e636d7dc-2314-4af9-bd42-7143a367a7a9%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/5BAABC01.70903%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.