This software module is ideal for geospatial applications.
Gtk2::Ex::Geo::Canvas is another exciting subclass of Gtk2::Gdk::Pixbuf that creates a Pixbuf from geospatial layer objects. It can construct the Pixbuf by calling the 'render' method for each layer while being embedded in Gtk2::Ex::Geo::Overlay.
The Gtk2::Ex::Geo::Overlay is a subclass of Gtk2::ScrolledWindow that serves as the canvas in a scrolled window. It contains a list of layer objects, and its functionality ranges wide. Some of its features include redraw, support for selections (point, line, path, rectangle, polygon, or many of them), zoom, pan and conversion between event and world (layer) coordinates.
Gtk2::Ex::Geo::Layer is the main class for geospatial layers. Usually, a geospatial layer is a subclass of a geospatial data, raster or vector features, etc., and of this class. This class contains visualization information for the data. It includes transparency, palette, colors, symbology, label placement, etc. Among other things, it has many callbacks that are triggered as a result of user interactions like using context menus, making a selection, etc. It uses layer dialogs as well.
The Gtk2::Ex::Geo::DialogMaster is a class that manages a set of Glade dialogs taken from XML in DATA section. Its subclass, Gtk2::Ex::Geo::Dialogs, contains dialogs for Gtk2::Ex::Geo::Layer.
Gtk2::Ex::Geo::Glue is another crucial singleton class for an object that manages the Gtk2::Ex::Geo::Overlay widget and a Gtk2::TreeView, among other widgets of a geospatial application. The class takes care of popping up context menus and other things.
The last essential module in Gtk2::Ex::Geo is Gtk2::Ex::Geo::TreeDumper. The module is used for inspecting layer and other objects. It enables developers to know the structure and contents of each object, which is handy during the development process.
Version 0.61: N/A