Overview
Comment: | Move Karto libraries |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | 7.3 |
Files: | files | file ages | folders |
SHA1: |
ac4c400e8b89cab0f2dd3dc6bd18e8ea |
User & Date: | bohwaz on 2019-12-18 11:42:58 |
Other Links: | branch diff | manifest | tags |
Context
2019-12-18
| ||
11:56 | Remove Karto, update Karto\Point and Karto\Set check-in: d5252aa931 user: bohwaz tags: 7.3 | |
11:42 | Move Karto libraries check-in: ac4c400e8b user: bohwaz tags: 7.3 | |
11:33 | Remove legacy libraries check-in: 4f93ecabdb user: bohwaz tags: 7.3 | |
Changes
Modified src/lib/KD2/Karto/Karto.php from [ef6e953924] to [d616b5b332].
︙ | ︙ | |||
19 20 21 22 23 24 25 | along with Foobar. If not, see <https://www.gnu.org/licenses/>. */ /** * Karto: an independent PHP library providing basic mapping tools */ | | | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | along with Foobar. If not, see <https://www.gnu.org/licenses/>. */ /** * Karto: an independent PHP library providing basic mapping tools */ namespace KD2\Karto; // From http://www.appelsiini.net/2008/11/introduction-to-marker-clustering-with-google-maps class Karto { const PIXELS_OFFSET = 268435456; // You might wonder where did number 268435456 come from? |
︙ | ︙ |
Modified src/lib/KD2/Karto/Point.php from [62d7ea0fbe] to [79ddb58824].
︙ | ︙ | |||
19 20 21 22 23 24 25 | along with Foobar. If not, see <https://www.gnu.org/licenses/>. */ /** * Karto: an independent PHP library providing basic mapping tools */ | | | | | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | along with Foobar. If not, see <https://www.gnu.org/licenses/>. */ /** * Karto: an independent PHP library providing basic mapping tools */ namespace KD2\Karto; use ArrayAccess; use \KD2\Karto\Point_Set; class Point implements ArrayAccess { /** * Half of the earth circumference in pixels at zoom level 21 * * Full map size is 536870912 × 536870912 pixels. * Center of the map in pixel coordinates is 268435456,268435456 * which in latitude and longitude would be 0,0. |
︙ | ︙ |
Modified src/lib/KD2/Karto/Point_Set.php from [c192c3f62a] to [e31647690f].
︙ | ︙ | |||
23 24 25 26 27 28 29 | * Karto: an independent PHP library providing basic mapping tools * * @author bohwaz http://bohwaz.net/ */ namespace KD2; | | | | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | * Karto: an independent PHP library providing basic mapping tools * * @author bohwaz http://bohwaz.net/ */ namespace KD2; use KD2\Karto\Point; class Point_Set { /** * Internal storage of set of points * @var array */ protected $points = []; |
︙ | ︙ |