Hi all,

First of all this is probably the most awesome and useful piece of software 
I’ve ever used. I love it!

I’ve been trying to figure out how to include a map automatically in any 
tiddler that is a “place,” for instance “starbucks on main” or “Belgium.” I’ve 
been trying to use the Leaflet Maps plugin from here: 
http://sycom.github.io/TiddlyWiki-Plugins/

According to the docs, if you add a field called “point” or “points” and put a 
comma separated list of the lat/lon(eg 45.3347,-85.72882) you can access the 
field and generate the map 

It works if I hardcore latitude and longitude when I call the widget, like this:

<$leafmap tile='sat'
        places='{"point":"6.5,19.72" />

 but i can’t figure out how to dynamically access the “point” field for 
tiddlers. I’ve tried all sorts of things, such as

<$leafmap tile='sat'
        places='{"point":"{{!!point}}" />

It seems like no matter what i do, the variable is not expanded because of the 
double quotes inside the json.

Any idea how I could make this work? Please and thanks in advance for your 
help!!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/06af45e3-0c3c-4546-9bfc-f0a95d4ff5cc%40googlegroups.com.

Reply via email to