From 0f4690453967dcc8a58b8c120007902353113c79 Mon Sep 17 00:00:00 2001 From: Code WvS Date: Sun, 1 Mar 2015 17:53:23 +0100 Subject: comments and code style --- snap.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'snap.html') diff --git a/snap.html b/snap.html index ab02c64..611581a 100755 --- a/snap.html +++ b/snap.html @@ -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); -- cgit v1.3.1