| 1 | Source: libgeo-google-mapobject-perl |
| 2 | Maintainer: Debian Perl Group <[email protected]> |
| 3 | Uploaders: gregor herrmann <[email protected]> |
| 4 | Section: perl |
| 5 | Testsuite: autopkgtest-pkg-perl |
| 6 | Rules-Requires-Root: no |
| 7 | Priority: optional |
| 8 | Build-Depends: debhelper-compat (= 13) |
| 9 | Build-Depends-Indep: libhtml-parser-perl, |
| 10 | libhtml-template-pluggable-perl, |
| 11 | libjson-perl, |
| 12 | libtest-deep-perl, |
| 13 | libtest-json-perl, |
| 14 | libtest-pod-coverage-perl, |
| 15 | libtest-pod-perl, |
| 16 | perl |
| 17 | Standards-Version: 4.1.3 |
| 18 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libgeo-google-mapobject-perl |
| 19 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libgeo-google-mapobject-perl.git |
| 20 | Homepage: https://metacpan.org/release/Geo-Google-MapObject |
| 21 | |
| 22 | Package: libgeo-google-mapobject-perl |
| 23 | Architecture: all |
| 24 | Depends: ${misc:Depends}, |
| 25 | ${perl:Depends}, |
| 26 | libhtml-parser-perl, |
| 27 | libjson-perl |
| 28 | Recommends: libhtml-template-pluggable-perl |
| 29 | Description: module managing the server side of the Google Maps API |
| 30 | Geo::Google::MapObject is intended to provide a server side solution to |
| 31 | working with the Google Maps API. In particular an object of this class |
| 32 | encapsulates a "map" object that provides support for the static maps API, |
| 33 | the javascript maps API, AJAX calls and non-javascript fallback data; but |
| 34 | without making many assumptions about the surrounding framework. It is assumed |
| 35 | that a template framework with support for a "dot" notation is being used, |
| 36 | for example HTML::Template::Pluggable. An important commitment of the module |
| 37 | is support for graceful and consistent fallback to a functional |
| 38 | non-javascript web page. |
| 39 | . |
| 40 | The javascript and static Google map APIs do not behave in quite the same way |
| 41 | when zoom and center are not specified. Specifically it works quite well with |
| 42 | the static maps |
| 43 | (http://developers.google.com/maps/documentation/staticmaps/?csw=1) |
| 44 | but not so well with the javascript API. To compensate for this the |
| 45 | module gives a choice between: specifying the center and zoom levels; |
| 46 | allowing the APIs and client side code to do whatever they think best; using |
| 47 | a built in algorithm to calculate a sensible zoom and center; and finally |
| 48 | supplying ones own algorithm to calculate a sensible zoom and center. |