Definitely,

it's a known issue. I will add a setting button to enable / disable this 
(one day), but for now you will have to make it "by hand" :

   1. go to  $:/plugins/sycom/leaflet/templates/geoTiddler  template tiddler
   2. edit it,
   3. remove $:/tags/ViewTemplate tag and save.

Or you may edit this template to fit your taste...

Cheers

Sylvain
@sycom
Le mardi 22 septembre 2020 à 12:09:22 UTC+2, Darek Bobak a écrit :

> 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/7f12ef0d-1bf6-4e3e-957e-fa08bd0172d9n%40googlegroups.com.

Reply via email to