From f27014b959dae1157cde10276d665044fb6bafad Mon Sep 17 00:00:00 2001 From: jmoenig Date: Tue, 21 May 2019 18:41:33 +0200 Subject: [PATCH] new "World Map" library --- HISTORY.md | 2 ++ libraries/maps_module.xml | 1 + 2 files changed, 3 insertions(+) create mode 100644 libraries/maps_module.xml diff --git a/HISTORY.md b/HISTORY.md index 29ebe095..9a152885 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -42,6 +42,7 @@ * multi-line and monospaced "code" input slots for custom blocks * new "string" library, thanks, Brian * new "text costumes" library for generating costumes from letters or words of text + * new "World Map" library for interactive maps * graphic effects and sound attributes can now be animated with easing functions * enhanced support for embedding Snap in other website, thanks, Bernat! * export sounds @@ -81,6 +82,7 @@ ### 2019-05-21 * Objects: fixed stage-size settings bug +* new "World Map" library ### 2019-05-20 * Objects, Blocks added plus- and minus- keys to key pressed predicate and hat block diff --git a/libraries/maps_module.xml b/libraries/maps_module.xml new file mode 100644 index 00000000..a0971873 --- /dev/null +++ b/libraries/maps_module.xml @@ -0,0 +1 @@ +
de:$flag Karte $globe
de:$globe Zoom
de:setze $globe Zoom auf _ 10
de:$globe Längengrad von x _ 0
de:$globe Breitengrad von y _ 0
de:setze $globe auf Länge: _ Breite: _ 48.5584758.8426195
de:y von $globe Breitengrad _
de:x von $globe Längengrad _
de:ändere $globe um x: _ y: _ Pixel 1010
de:$globe Entfernung zu _ §_objectsMenustagelat1lng1lat2lng2return stage.mapModel.distance(L.latLng(lat1, lng1), L.latLng(lat2, lng2));
de:$globe aktuelle Position
de:$globe aktueller Breitengrad
de:$globe aktueller Längengrad
de:aktualisiere $globe
de:hole $globe Kostüm
\ No newline at end of file