Skip to content

Latest commit

 

History

History
86 lines (86 loc) · 4.8 KB

TODO.md

File metadata and controls

86 lines (86 loc) · 4.8 KB
  • Two layers: "land" (outside) and adm(inside, hover possible, action on hover)
  • add "Context": countries
  • [-] Add labels (from geojson properties) : give choice to select font + marker
  • "Save current geo params" -> localstorage. If defined, to moving on import new file
  • Support import geojson
  • Create tooltips on hover: have a builder to chose properties on geometries
  • [-] Add possibility to change background image (noise for now)
  • Import geojson instead of topojson
  • Draw on canvas on move, using simplified geometries
  • Export with a level of precision
  • [-] Export a JS file defining a class, to call on an element
  • Allow placing points (choosing from a set of shapes)
    • Make the shape resizable / stylable with inline-style-editor (right click -> edit size + edit style)
  • Allow associating labels to those points
  • Allow customization of paths strokes
  • Allow adding bubbles (projected or not)
    • Add "create bubble" on right click -> display radius, editable later on with inline-style-editor
    • Create tooltip for the bubbles (one for each bubble)
  • Allow customizing the contour (no contour, size, border-type, color...)
  • Fix different sizes of container for SVG / canvas
  • Give choice of viewBox vs width/height
  • If viewBox, always fill container, and get dynamic size for drawing with canvas
  • If width/height, give control over width/height
  • Fix change sea color not working
  • Add spinner on loading (geosjon / font)
  • Fix dragging created paths
  • Display labels using projection (how?)
  • Add credits to:
    • geoboundaries
    • d3
    • github
    • "tilting the satellite observable"
  • Option to push to front on hover to avoid surrounding boundaries of top of hovered ( add js to export ?) => always here, but replace on leave
  • Find a way to retain inline styles on redraw
  • Define <style> in in SVG directly
  • Allow for ordering div after/before countries/ADM1. If after, remove from merge filter, otherwise retain it (for stroke)
  • Wrap "land" inside an inline tag, inside a separate for FF performance (and maybe other browsers?)
    • MUCH worse performance on chrome. Tried:
      • Move svg containing on the outside: same
      • Same principle, using
    • Solution: will-change: opacity +
  • Instructions: how to tilt / rotate / zoom / drag
  • Change zoom sensibility according to FOV
  • Animate object along path
  • Add validation on imported data (alpha-3 / shapeName)
  • Add conversion of final CSS rgb(x y z) => #hex
  • Format tooltip when containing decimal values => determine formatter automatically
    • Allow to change format locale
  • [-] Choice to remove imported fonts -> export only used fonts
  • On delete country, delete legend + color def (+ else ?)
  • Export button => popup modal to select
    • No redraw on resize
    • Choice between "font(s) will be included in final file" & "best between embed font / transform text to paths"
  • SEO: title + meta tag + raw html for FAQ
  • Redesign layout: accordions on right, data / colors / legend on left
  • Add line at the end of path ()
  • Delete paths on right click in menu
  • Sitemap
  • Allow change fill color for land when base layer
  • README github: explain how optimizations work
  • Add example(s)
  • Change default filter 2
  • Make more fine-tuning altitude/FOV more intuitive
  • Allow minification of JS
  • [-] Implement Undo / Redo on points / labels moving
  • Allow more projections
  • Add categorical colors by hand
  • Formatting language: chose for legend + tooltip
  • Store deleted elements. Button to reset deleted ?
  • Disable double-click zoom
  • Legend: style not applied on template
  • Legend: color width/height not reported immediatly
  • Tooltip check/uncheck: style not applied to template
  • Altitude bounds not correct when satellite directly used
  • Allow for undefined values in quantil/ze, with a checkbox appearing if there are undefined values
  • [-] Legend can go off-canvas when resizing -> Not a big deal
  • On small canvas, there seems to be off-canvas drawings
  • Export as raster no working when legend is present
  • Dynamic bounds for border radius depending on max of width/height
  • inline style editor: no css selection by attribute with [id=]
  • geoclip to accomodate border-radius ? at least use masking
  • modifications on stroke of country not exported when saving
  • Allow for multi-line labels
  • Inline style editor: give name to other elements. Add parent element for
  • Only include code for tooltip when one tooltip included
  • Delay optimizing content of at export time (for performance)