ok - got zoom to work - another question

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Mon Nov 22 12:48:58 EST 2004


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