Ok, I understand. I'm playing with JSON Mangler now.
And another question: when I create tiddler with geo data (like, field
"point" with coordinates), the map is displayed in tiddler by default. Is
it possible to turn the map off? I would like rather display it by the
$leafmap widget in view template.
cheers,
Darek
wtorek, 22 września 2020 o 12:03:27 UTC+2 Sycom napisał(a):
> Hi Darek,
>
> I can reply very shortly to this I'm afraid : no.
>
> The filter parameter in Leaflet map plugin was only designed for tiddlers.
> And I guess that filter in TiddlyWiki was not designed for such complex
> json neither. May be Joshua's JSON mangler plugin can help? I do not know
> them enough to say.
>
> As a workaround, you may convert your json data to tiddlers with an
> external script, import them and then use filter.
>
> Cheers,
>
> Sylvain
> @sycom
>
> Le lundi 21 septembre 2020 à 23:28:44 UTC+2, Darek Bobak a écrit :
>
>> Is it possible to display on the map only selection of features (by name
>> or other property) from geojson containing a multiple locations -
>> FeatureCollection.
>>
>> Sample geojson:
>> {
>> "type": "FeatureCollection",
>> "features": [
>> {
>> "type": "Feature",
>> "geometry": {
>> "type": "Point",
>> "coordinates": [
>> 13.190206,
>> 48.649078
>> ]
>> },
>> "properties": {
>> "name": "Albersdorf",
>> "type": "Open",
>> "elevation": ""
>> }
>> },
>> {
>> "type": "Feature",
>> "geometry": {
>> "type": "Point",
>> "coordinates": [
>> 12.190206,
>> 48.649078
>> ]
>> },
>> "properties": {
>> "name": "Pfellnkofen",
>> "type": "Open",
>> "elevation": ""
>> }
>> }
>> ]
>> }
>>
>> best,
>> Darek
>>
>
--
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/b58b0ef2-d189-416e-a880-9579bdab5b84n%40googlegroups.com.