Skip to content
Sections
>> Trisquel >> 软件包 >> etiona >> perl >> libgeo-google-mapobject-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libgeo-google-mapobject-perl  ]

软件包: libgeo-google-mapobject-perl (0.06-3)

module managing the server side of the Google Maps API

Geo::Google::MapObject is intended to provide a server side solution to working with the Google Maps API. In particular an object of this class encapsulates a "map" object that provides support for the static maps API, the javascript maps API, AJAX calls and non-javascript fallback data; but without making many assumptions about the surrounding framework. It is assumed that a template framework with support for a "dot" notation is being used, for example HTML::Template::Pluggable. An important commitment of the module is support for graceful and consistent fallback to a functional non-javascript web page.

The javascript and static Google map APIs do not behave in quite the same way when zoom and center are not specified. Specifically it works quite well with the static maps (http://developers.google.com/maps/documentation/staticmaps/?csw=1) but not so well with the javascript API. To compensate for this the module gives a choice between: specifying the center and zoom levels; allowing the APIs and client side code to do whatever they think best; using a built in algorithm to calculate a sensible zoom and center; and finally supplying ones own algorithm to calculate a sensible zoom and center.

其他与 libgeo-google-mapobject-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libhtml-parser-perl
    collection of modules that parse HTML text documents
  • dep: libjson-perl
    module for manipulating JSON-formatted data
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下载 libgeo-google-mapobject-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 24.2 kB60 kB [文件列表]