Skip to content

Commit

Permalink
feat(A2): add new chapitre for alice-landing agreement 2
Browse files Browse the repository at this point in the history
  • Loading branch information
guilbep committed Feb 29, 2024
1 parent 8220dd8 commit 5dce9ef
Show file tree
Hide file tree
Showing 8 changed files with 3,641 additions and 2,467 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
node_modules/
.DS_STORE
data/*.png
4 changes: 2 additions & 2 deletions data/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM osgeo/gdal:latest
FROM osgeo/gdal:alpine-small-3.6.3

COPY ./script.sh /opt/script.sh

ENTRYPOINT [ "/usr/bin/sh", "/opt/script.sh" ]
ENTRYPOINT [ "/bin/sh", "/opt/script.sh" ]
5,372 changes: 2,938 additions & 2,434 deletions frontend/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@
"git add"
]
}
}
}
2 changes: 1 addition & 1 deletion frontend/src/shims-custom.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
declare module "georaster";
declare module "swiss-projection";
declare module "leaflet.heat";
declare module "leaflet.heat";
11 changes: 11 additions & 0 deletions frontend/src/utils/leaflet-sld.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Feature, Point } from "geojson";
import L, {
circleMarker,
CircleMarkerOptions,
Class,
divIcon,
LatLng,
Layer,
Expand Down Expand Up @@ -380,6 +381,16 @@ export function getPointToLayer(
};
return (_, latlng) => circleMarker(latlng, circleMarkerOptions);
}
// ...

case "cross": {
const circleMarkerOptions: CircleMarkerOptions = {
...pathOptions,
radius: ratio(getNumber("./se:Size", graphicNode)),
...options,
};
return (_, latlng) => circleMarker(latlng, circleMarkerOptions);
}
default:
throw Error(`Unknown wellKnownName ${wellKnownName}`);
}
Expand Down
Loading

0 comments on commit 5dce9ef

Please sign in to comment.