Labels for timezones layer

Marc JACQUIN - GEOSYS Inc - Minneapolis mjacquin at geosys-inc.com
Tue Nov 23 10:10:34 PST 1999


Steve,

Already tried to do that but it is nt so obvious. To have the label display at the center of
the polygon the top and bottom 'little' maps must cover the equator area and very often, at
equator, timezones differ from what they are at a different latitude. I did told you I was
displaying the limits of the TZ. So limits would not match. Unless MapServer displays labels
centered on the displayed area of the polygon (not exactly at the center of the polygon).

Stephen Lime wrote:

> Can't be done, at least not without some custom coding. You might be able to
> create an interesting effect by stacking 3 maps on top of each other where:
>
>  - top map is narrow and displays only the timezone labels (centered)
>  - main map is defined as normal
>  - bottom map is narrow and displays only the timezone labels (centered)
>
> ----------------------------------------------------
> |                                                   |
> ----------------------------------------------------
> |                                                   |
> |                                                   |
> |                                                   |
> |                                                   |
> |                                                   |
> |                                                   |
> |                                                   |
> ----------------------------------------------------
> |                                                   |
> ----------------------------------------------------
>
> Extents would need to be constant between the 3 maps but that shouldn't be
> that hard to do. You'll need some javascript to do this unless you're developing
> a custom client. This is a sneaky way to add all sorts of effects to interfaces.
>
> Just an idea...
>
> Steve
>
> Stephen Lime
> Internet Applications Analyst
>
> Minnesota DNR
> 500 Lafayette Road
> St. Paul, MN 55155
> 651-297-2937
>
> >>> Marc JACQUIN - GEOSYS Inc - Minneapolis <mjacquin at geosys-inc.com> 11/23/99 10:27AM >>>
> Hi everyone,
>
> I am using the timezones layer (ESRI) and I would like to display the
> number of the zone. The problem is to display them at the top and the
> bottom of the map at any zoom factor, in other words not at the center
> of the polygon. I would like to avoid generating a specific point layer
> dynamically. Any idea ?
>
> Thanks,
>
> Marc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mjacquin.vcf
Type: text/x-vcard
Size: 416 bytes
Desc: Card for Marc JACQUIN - GEOSYS Inc - Minneapolis 
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/19991123/b8c6d67d/attachment.vcf>


More information about the MapServer-users mailing list