Re: Map Library



Bump! Any thoughts on the idea of splitting out the map widget into a library (new or existing) for easier use by other packages like Ubiquity, other installers, etc?
-mt

On 25/02/11 06:49, Rodrigo Moya wrote:
On Thu, 2011-02-24 at 13:17 -0500, Michael Terry wrote:
Hello, gentle gnome-control-center maintainers!

adding g-c-c list to CC

I noticed that the 3.0 control center has a ported version of Ubiquity's
timezone map.  When implementing the spec for indicator-datetime's
preference dialog [1], I also wanted the same timezone map and am now
interested in avoiding having so many copies of the code and data
floating around the world.

In the short term, I'm just using a static library consisting of a
patched version of the map from the control center.

But long term, maybe 3.2, would you consider splitting the map into its
own library so that all three projects (GNOME, ubiquity, and
indicator-datetime) can use it?  (or putting it into an appropriate
existing library)

There are some additions that Ubuntu would need (and I can provide
patches for):
   * A GtkEntryCompletion object that grabs names from a geonames server
(would not need to be tied to the map, just something that both ubiquity
and indicator-datetime would use and would be a convenient place to keep it)
   * The ability to add a string watermark (to meet geonames.org
attribution requirements)
   * The ability to query what timezone is nearest a long/lat pair

maybe it would make sense in libchamplain?




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]