[OSGeoLive] #2388: Leaflet quickstart document update
OSGeoLive
trac_osgeolive at osgeo.org
Sun Jul 31 22:26:33 PDT 2022
#2388: Leaflet quickstart document update
-----------------------+-------------------------------------
Reporter: sanak | Owner: osgeolive@…
Type: task | Status: new
Priority: normal | Milestone: OSGeoLive15.0
Component: OSGeoLive | Keywords: leaflet,mapnik,mapproxy
-----------------------+-------------------------------------
From #2384 - [https://trac.osgeo.org/osgeolive/ticket/2384#comment:14
comment:14]
> By the way, during checking leaflet quickstart document, the following
changes seem to be necessary, but those can be done on another ticket.
> - {{{Geospatial/Spatial Tools/Start Mapnik & TileStache}}} menu doesn't
exist. (#2352 may be related with this.)
> - https://github.com/OSGeo/OSGeoLive-
doc/blob/master/doc/quickstart/leaflet_quickstart.rst#running
> > Prior to running this quick start you should start TileStache. On
OSGeoLive this can be found under **Geospatial\Spatial Tools\Start Mapnik
& TileStache**. This will provide background tiles that will be used in
this demo.
> - IE 8 stylesheet reading comment should be deleted from both code and
doc, because there is no {{{/leaflet/leaflet.ie.css}}}.
> - https://github.com/OSGeo/OSGeoLive-
doc/blob/master/doc/quickstart/leaflet_quickstart.rst#preparing-your-page
> {{{
> <!--[if lte IE 8]>
> <link rel="stylesheet" href="/leaflet/leaflet.ie.css" />
> <![endif]-->
> }}}
----
About 1st one, replacing {{{MapProxy - Mapnik layer}}} seems to be
enough, because {{{TileStache}}} seems to be replaced by Mapnik layer in
{{{MapProxy}}} setting in #2255.
Probably, adding Mapnik layer as WMS layer will be easier than as TMS
layer in Leaflet.
- https://leafletjs.com/examples/wms/wms.html
There is still another issue (#2352) about Mapnik, so it's better to wait
for the fix for a while.
--
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2388>
OSGeoLive <https://live.osgeo.org/>
self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything.
More information about the osgeolive
mailing list