metro map: keep the view where a pinch leaves it

After a pinch, the remaining finger resumed the drag from where the
first finger started and the pre-pinch view, so the map snapped back.
The drag now restarts from the current position when a pinch ends.


git-svn-id: https://svn.apache.org/repos/asf/comdev/projects.apache.org/trunk@1940036 13f79535-47bb-0310-9956-ffa450edef68
3 files changed
tree: bfc61cf3904a9aa45cad9a6ececbd1c62fad2808
  1. data/
  2. docker-config/
  3. scripts/
  4. site/
  5. .dockerignore
  6. compose.yml
  7. DOCKER.md
  8. Dockerfile
  9. README.md
  10. README_NEWTLP
  11. STRUCTURE.txt
README.md

Creates the site https://projects.apache.org/

The canonical source is at: https://svn.apache.org/repos/asf/comdev/projects.apache.org/trunk

Please raise bugs at: https://issues.apache.org/jira/projects/COMDEV using the component: Projects Tool

Please do not use Pull Requests.

Contributing changes

The GitHub repository (apache/comdev-projects) is a read-only mirror of the SVN trunk above. Nobody can push to it or merge Pull Requests there, so changes have to go through SVN.

Do not include generated data

Most files under site/json/ are generated by the scripts in scripts/cronjobs/ and committed to SVN daily (around 2 AM UTC) by the projects_role account. Change the script that generates a file, not the file itself: a hand-edited copy will conflict with, or be overwritten by, the next scheduled update.

Submitting a patch for review

  1. Check out trunk (or update an existing checkout):

    svn checkout https://svn.apache.org/repos/asf/comdev/projects.apache.org/trunk projects.apache.org
    cd projects.apache.org
    
  2. Make and test your change (see “Running locally” below).

  3. Create the patch from the top of the checkout:

    svn diff > my-change.patch
    

    If you work in a clone of the Git mirror instead, this creates a patch that “svn patch” can apply, without the generated data:

    git diff --no-prefix origin/trunk...HEAD -- . ':!site/json' > my-change.patch
    
  4. Send it for review, either:

Reviewers apply it with “svn patch my-change.patch”.

Committing directly

Committers with write access to comdev may commit their own changes with “svn commit”. The project works commit-then-review: every commit is sent to commits@community.apache.org, where it can be reviewed. For larger or user-visible changes, consider sending a patch to dev@community.apache.org first.

If generative AI tools helped write a change, say so in the commit message or patch email, for example with a “Generated-by:” line, as described in https://www.apache.org/legal/generative-tooling.html

Running locally

Run a local version of the site with:

cd site && python3 -m http.server 8000