Opened 2 years ago
Last modified 3 months ago
#2388 new task
Leaflet quickstart document update
Reported by: | sanak | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | OSGeoLive17.0 |
Component: | OSGeoLive | Keywords: | leaflet, mapnik, mapproxy |
Cc: |
Description
From #2384 - 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.
There is still another issue (#2352) about Mapnik, so it's better to wait for the fix for a while.
Change history (5)
comment:2 by , 2 years ago
Document side PR is here.
https://github.com/OSGeo/OSGeoLive-doc/pull/781
comment:4 by , 20 months ago
Milestone: | OSGeoLive15.0 → OSGeoLive16.0 |
---|
Ticket retargeted after milestone closed
comment:5 by , 3 months ago
Milestone: | OSGeoLive16.0 → OSGeoLive17.0 |
---|
Ticket retargeted after milestone closed
I noticed that using WMS layer requires quickstart document changes a lot, so I added mapnik tile cached layer on the following PR.
https://github.com/OSGeo/OSGeoLive/pull/348
I will create another document side PR, soon.