Skip to content

Possible refactoring ideas? #63

Description

@pmackay

I've been looking a bit at the demo site code and would appreciate your feedback on a few thoughts:

  1. Could this site benefit from using a system like DocPad or Jekyll? Each of the maps has a bunch of repeated code so I was wondering being able to factor that out into separate header/footer files could be useful.
  2. It might help to organise more of the files into sub-directories. There seems to be a lot of image and JS files in the root which makes it a little hard to distinguish file types. Doing (1) might help with this.
  3. As I think I suggested on one Discourse post, it could be cool to separate out the overpass config outside of other HTML/JS code.

I'd be interested in exploring some of this if that would be helpful. And if there are reasons why these ideas are not worth taking further, thats totally fine!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions