Jedy Wang wrote:
> Hi Frank,
> 
> Has the UI spec for the timezone widget been done? On the webpage of UI
> spec for slim08, I found some informations. But there are still a lot of
> things unclear.
> 
> 1. I need the picture of the map with which I can translate (longitude,
> latitude) to (x, y) easily. Currently I am using the map from evolution
> to develop my prototype.
> 
> 2. The size of the map. Is it big enough for the user to find out the
> city he want? If not, what should I do, zoom in and provide scroll bar?
> 
> 3. Currently we use region/location/timezone to choose a timezone and
> these informations come from
> get_tz_continents/get_tz_countries/get_timezones_by_country system
> calls. But they do not provide latitude/longitude which I need to draw
> the points on the map. In my prototype, I read the information
> from /usr/share/lib/zoneinfo/tab/zone_sun.tab. But I can not get
> region/location from zone_sun.tab. I wonder if we should still use
> region/location/timezone to choose a timezone. (From zone_sub.tab I can
> get timezone only but from timezone string I can parse continent I
> think.)
> 
> 4. Details of the widget, like:
>        What should the tooltip look like?
>        What should the point on map look like?
>       ...
> 
> Regards,
> 
> Jedy 
> 
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss


 > http://jdsbj.prc.sun.com/wiki//images/b/ba/Worldmap.png

This picture appears to be a Miller cylindrical projection:

See http://en.wikipedia.org/wiki/Miller_cylindrical_projection

The above page offers equations for translation from lat, long to
x and y; some trig should yield the reverse equations.

- Bart



-- 
Bart Smaalders                  Solaris Kernel Performance
barts at cyber.eng.sun.com              http://blogs.sun.com/barts

Reply via email to