Discussion:
[tw] How to control the leaflet tileLayers used by the plugin
(too old to reply)
vpl
2017-05-04 09:17:53 UTC
Permalink
Raw Message
Hi,

The plugin documentation
(http://sycom.github.io/TiddlyWiki-Plugins/#Leaflet%20plugin) explain how
to *add/remove *tileLayers by updating the tileLayers.json
<http://sycom.github.io/TiddlyWiki-Plugins/#%24%3A%2Fplugins%2Fsycom%2Fleaflet%2Flib%2FtileLayers.json>
i

But I can't find the way to decide which tileLayer is used for a given <$leafmap>
Map

Any idea ?

Thanks for your help

Regards

Vpl
--
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 tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
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/fda21ca0-6b56-4be7-997c-5aa07a82a9b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
SylvainComte
2017-05-18 13:00:32 UTC
Permalink
Raw Message
Hello,

well the author of this documentation made a very bad job I guess ;-)

As specified in the usage tab of the plugin, you have to use the tile
attribute with the number or the id of the layer :

<?leafmap tile='natgeo' (...) />


or

<?leafmap tile='2' (...) />

hope this helps

cheers

Sylvain
Hi,
The plugin documentation (
http://sycom.github.io/TiddlyWiki-Plugins/#Leaflet%20plugin) explain how
to *add/remove *tileLayers by updating the tileLayers.json
<http://sycom.github.io/TiddlyWiki-Plugins/#%24%3A%2Fplugins%2Fsycom%2Fleaflet%2Flib%2FtileLayers.json>
i
But I can't find the way to decide which tileLayer is used for a given <$leafmap>
Map
Any idea ?
Thanks for your help
Regards
Vpl
--
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 tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
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/75b30468-c6a7-4279-86d7-ed08f8ec8ea2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...