<blocksapp="Snap! 5.1, http://snap.berkeley.edu"version="1"><block-definitions="$globe show current location"type="command"category="other"><header></header><code></code><translations>de:$globe zeige aktuellen Standort
pt:mostra a localização corrente do dispositivo no $globe
ca:$globe centra a la meva ubicació
</translations><inputs></inputs><script><custom-blocks="set $globe to lon: %n lat: %n"><custom-blocks="$globe current longitude"></custom-block><custom-blocks="$globe current latitude"></custom-block></custom-block></script></block-definition><block-definitions="$globe zoom"type="reporter"category="other"><header></header><code></code><translations>de:$globe Zoom
pt:o zoom do $globe
ca:$globe zoom
</translations><inputs></inputs><script><blocks="doReport"><blocks="evaluate"><blocks="reportJSFunction"><list><l>stage</l></list><l>return stage.worldMap.zoom;</l></block><list><blocks="reportGet"><l><option>stage</option></l></block></list></block></block></script></block-definition><block-definitions="set $globe zoom to %'n'"type="command"category="other"><header></header><code></code><translations>de:setze $globe Zoom auf _
pt:altera o zoom do $globe para _
ca:$globe fixa el zoom a _
</translations><inputs><inputtype="%n">10</input></inputs><script><blocks="doRun"><blocks="reportJSFunction"><list><l>stage</l><l>n</l></list><l>stage.worldMap.setZoom(n)</l></block><list><blocks="reportGet"><l><option>stage</option></l></block><blockvar="n"/></list></block><custom-blocks="update $globe"></custom-block></script></block-definition><block-definitions="$globe longitude of x %'x'"type="reporter"category="other"><header></header><code></code><translations>de:$globe Längengrad von x _
pt:a longitude no $globe da coordenada x _
ca:$globe longitud per a x _
</translations><inputs><inputtype="%n">0</input></inputs><script><blocks="doReport"><blocks="evaluate"><blocks="reportJSFunction"><list><l>stage</l><l>x</l></list><l>return stage.worldMap.lonFromSnapX(x)</l></block><list><blocks="reportGet"><l><option>stage</option></l></block><blockvar="x"/></list></block></block></script></block-definition><block-definitions="$globe latitude of y %'y'"type="reporter"category="other"><header></header><code></code><translations>de:$globe Breitengrad von y _
pt:a latitude no $globe da coordenada y _
ca:$globe latitud per a y _
</translations><inputs><inputtype="%n">0</input></inputs><script><blocks="doReport"><blocks="evaluate"><blocks="reportJSFunction"><list><l>stage</l><l>y</l></list><l>return stage.worldMap.latFromSnapY(y)</l></block><list><blocks="reportGet"><l><option>stage</option></l></block><blockvar="y"/></list></block></block></script></block-definition><block-definitions="set $globe to lon: %'lon' lat: %'lat'"type="command"category="other"><header></header><code></code><translations>de:setze $globe auf Länge: _ Breite: _
pt:altera a posição no $globe para (longitude: _ , latitude: _ )
ca:$globe centra a longitud: _ latitud: _
</translations><inputs><inputtype="%n">-122.257852</input><inputtype="%n">37.872099</input></inputs><script><blocks="doRun"><blocks="reportJSFunction"><list><l>stage</l><l>lat</l><l>lon</l></list><l>stage.worldMap.setView(lon, lat);</l></block><list><blocks="reportGet"><l><option>stage</option></l></block><blockvar="lat"/><blockvar="lon"/></list></block><custom-blocks="update $globe"></custom-block></script></block-definition><block-definitions="y of $globe latitude %'lat'"type="reporter"category="other"><header></header><code></code><translations>de:y von $globe Breitengrad _
pt:a coordenada y da latitude _ no $globe
ca:$globe y per a latitud _
</translations><inputs><inputtype="%n"></input></inputs><script><blocks="doReport"><blocks="evaluate"><blocks="reportJSFunction"><list><l>stage</l><l>lat</l></list><l>return stage.worldMap.snapYfromLat(lat)</l></block><list><blocks="reportGet"><l><option>stage