X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/7899019f379b3005ad5256772cd48d69583f5211..705fa4579bb78159ff818d8d89d27207fe4fc8a8:/doc/plugins/osm/discussion.mdwn diff --git a/doc/plugins/osm/discussion.mdwn b/doc/plugins/osm/discussion.mdwn index 2a41b35d2..ed8cd27ee 100644 --- a/doc/plugins/osm/discussion.mdwn +++ b/doc/plugins/osm/discussion.mdwn @@ -28,9 +28,9 @@ For usability it would be great if it was possible to display the active waypoin ## Updated plugin needs review and merge -[[!template id=gitbranch branch=tincho-osm author="[[tincho]]"]] +[[!template id=gitbranch branch=tincho-osm author="[[users/Tincho]]"]] -[[schmonz]] here. I recently tried to use this plugin, had some trouble, and discovered on IRC that [[tincho]] has a largely [rewritten version](https://blog.tincho.org/posts/OSM_in_IkiWiki/) that looks good [on his site](https://blog.tincho.org/Mingle/), but hadn't gotten around to submitting for merge. So we remote-paired on it today, improved a few things, and wrote down what we noticed: +[[schmonz]] here. I recently tried to use this plugin, had some trouble, and discovered on IRC that [[users/Tincho]] has a largely [rewritten version](https://blog.tincho.org/posts/OSM_in_IkiWiki/) that looks good [on his site](https://blog.tincho.org/Mingle/), but hadn't gotten around to submitting for merge. So we remote-paired on it today, improved a few things, and wrote down what we noticed: ### Features removed @@ -45,9 +45,11 @@ For usability it would be great if it was possible to display the active waypoin - Maps actually work again - Maps work when embedded in HTTPS sites -- Multiple maps and multiple waypoints in a page probably work better now +- Multiple maps and multiple waypoints in a page work properly - Maps _do_ appear in inlines - Pagestate hash gets cleaned up better after edit/preview/delete +- Unigue icon for "active waypoint" works, also possible to select manually any waypoint to highlight +- Good test coverage, including inlines and multiple maps/waypoints per page ### Wishlist @@ -62,7 +64,12 @@ For usability it would be great if it was possible to display the active waypoin - Given this is backward-incompatible, dhould we call it something other than "osm"? - What needs scrubbing? Have we covered all the bases? Too many bases? - Should we vendor Leaflet into an underlay, instead of needing a URL to load it from a CDN? [[schmonz]] somewhat prefers this, so we avoid needing external resources by default, avoid breaking when the Leaflet CDN is down, etc. -- Should we write some tests before merging? `osm.pm` hadn't had any, FWIW +- Should we write some tests before merging? `osm.pm` hadn't had any, FWIW -- [[users/Tincho]] Done + +Bump! Tincho would like to see us merge his effort, and FWIW I'd also +rather not have to carry around a local copy of his work to get a map +with waypoints on my HTTPS site. [[smcv]], can you spare some round +tuits to give us your thoughts? --[[schmonz]] ---- @@ -75,3 +82,7 @@ Looks like good changes to me! > did a grep `Placemark pois.kml|wc -l` which returned 3468. Which perhaps isn't that much? I'm thinking about how individual poi files might affect performance. My performance troubles are more likely to be with my tweaked album and img plugins though. --[[kjs]] + +> The issue about not getting all the waipoints until you rebuild has been solved, the current plugin had issues with keeping track of updated and deleted waypoints which is now fixed in my branch. --[[users/Tincho]] + +I've done some initial testing now and I'm wondering if behaviour has changed with regards to the waypoint link. With the old plugin I get a map marker and link to the main map from each waypoint. See for example, the marker is below the image. My initial tests with your plugin doesn't create this link as far as I can tell. Have I misconfigured something or is it indeed missing? --[[users/kjs]]