diff options
| author | Code WvS <code-wvs@quantentunnel.de> | 2015-03-01 17:53:23 +0100 |
|---|---|---|
| committer | Code WvS <code-wvs@quantentunnel.de> | 2015-03-01 17:53:23 +0100 |
| commit | 0f4690453967dcc8a58b8c120007902353113c79 (patch) | |
| tree | ef06af4288d03123dfdd3de988186ea294f30d29 /snap.html | |
| parent | 2a6993efae6e961660ecd2aa1f999f10aadf94f4 (diff) | |
| download | snap-yow-0f4690453967dcc8a58b8c120007902353113c79.tar.gz snap-yow-0f4690453967dcc8a58b8c120007902353113c79.zip | |
comments and code style
Diffstat (limited to 'snap.html')
| -rwxr-xr-x | snap.html | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -112,6 +112,11 @@ // OSMBuildings provides fancy 3D buildings new OSMBuildings(map).load(); + // A Sprite's X position is mapped to longitude + // A Sprite's Y position is mapped to latitude + // The stage has -x left and +x right, + // -y top and +y bottom but we want + // +y top and -y bottom. window.spriteGroup = spriteGroup; spriteGroup = L.layerGroup().addTo(map); |
