ok - got zoom to work - another question

Joseph Norris sirronj at PACBELL.NET
Mon Nov 22 12:53:28 EST 2004


Steve,

Right now it looks like I am getting the whole polygon covered with ellipses
or I am not doing the ellipse correctly.  For my demonstration I would like
to put the number of teachers on a single ellipse - then the user could zoom
in and see this.

Sorry Steve - I do not see how to do this in the docs.


#Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql) print @c=map chr
$_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,-68,4,-3,-1,7,1,14,-
68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at lists.umn.edu]On
Behalf Of Stephen Woodbridge
Sent: Monday, November 22, 2004 9:49 AM
To: MAPSERVER-USERS at lists.umn.edu
Subject: Re: [UMN_MAPSERVER-USERS] ok - got zoom to work - another question

Joseph,

This will be problematic if you are placing the ellipse at the zipcode
centroid because all the ellipses will be located at the same location
and you will only see the last one that is drawn.

What you might want to do is make the ellipse a hot spot and do some
javascript onRollover to pop up a box with the names in it. Or to place
the number of teachers on a single ellipse, or to list all the teacher
names in a single ellipse.

These would need to be done in mapscript some way. but I don't think you
will be able to get mapserver to do it automatically for you.

-Steve W.

Joseph Norris wrote:
> Everyone,
>
> I have my zoom working but now I would like to tackle something else.  I
am
> putting an ellipse in the zip polygons if there is a 1-more teachers
there.
> For each zip there maybe a max of 10 teachers.  I would like an ellipse or
> symbol for each one so that when the user zooms into the polygon they can
> see a symbol for each teacher. Can I do this within the class?  If so how
or
> would be the best way to handle this?
>
> Thanks.
>
> #Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql) print @c=map
chr
>
$_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,-68,4,-3,-1,7,1,14,-
> 68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);
>



More information about the mapserver-users mailing list