X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/669a5f5ecc0d50daf96d8dc2af219c94c8625fb4..d3c15aed18ef9e67c3e785ac3cc0426c56e59ac7:/doc/todo/osm_plugin_GeoJSON_popup_patch.mdwn?ds=inline diff --git a/doc/todo/osm_plugin_GeoJSON_popup_patch.mdwn b/doc/todo/osm_plugin_GeoJSON_popup_patch.mdwn index 8b0996fe0..46b61994c 100644 --- a/doc/todo/osm_plugin_GeoJSON_popup_patch.mdwn +++ b/doc/todo/osm_plugin_GeoJSON_popup_patch.mdwn @@ -3,4 +3,17 @@ When using the GeoJSON output of the OSM plugin (osm_format: GeoJSON), the name and description in the popups are missing, this patch fixes the issue. +> "Fix the title and description of map popups" +> +> + # Rename desc to description (this matches the kml output) +> +> Is there a spec for this anywhere, or a parser with which it needs to be +> compatible? +> --[[smcv]] [[!tag reviewed]] +>> This is especially confusing because this is actually about JSON, not KML. Disregarding that, here's the [geojson homepage](http://geojson.org/) which has a link to the spec. The spec doesn't seem to specify `description`, `desc` or `name` anywhere. --[[anarcat]] + +>> No, although I believe the only code that parses this is line 112 of +>> [underlays/osm/ikiwiki/osm.js](http://source.ikiwiki.branchable.com/?p=source.git;a=blob;f=underlays/osm/ikiwiki/osm.js;h=37e588f7b5bba4c1125052f82c358359a3459705;hb=HEAD#l112). + +>>> Ah, right, then this may make sense after all... --[[anarcat]]