[mapserver-users] Re: [UMN_MAPSERVER-USERS] Input Image and Image Map
Matthew Pettis
matthew.pettis at gmail.com
Thu Feb 14 09:15:09 PST 2008
Thanks for your help so far, Tim.
I'm not complete yet, but I am doing something along those lines, I think...
I am using javascript provided by YUI (Yahoo! User Interface) to help me
track mouse positions and events. I am going to calculate the image
position of a click on the image (if it allows) or the image map by
registering a listener with both, and then submit the form with the
appropriate info purely through javascript. I'll post what I know when/if I
get that solution working.
Thanks again,
Matt
On Thu, Feb 14, 2008 at 11:06 AM, Nolte, Tim <Tim.Nolte at ipcswirelessinc.com>
wrote:
> Matthew,
>
> From everything I see this should work. However, something you might try
> doing is setup a little JavaScript that tracks the mouse movement (x,y)
> within the map area and have those stored in a couple read-only form
> fields. When you click on the map and the page is submitted you'll have
> the x,y from those form fields to use in doing your zoom. I'm a little
> swamped at the moment so until I can setup your code in a test
> environment to interact with myself I'm probably not going to be much
> more help. Sry.
>
> - Tim
>
> ----
> Timothy J Nolte - tnolte at ilpcs.com
> Associate Network Planning Engineer
>
> iPCS Wireless, Inc.
> 4717 Broadmoor Ave, Suite G
> Kentwood, MI 49512
>
> Office: 616-656-5163
> PCS: 616-706-2438
> Fax: 616-554-6484
> Web: www.ipcswirelessinc.com
>
--
It is from the wellspring of our despair and the places that we are broken
that we come to repair the world.
-- Murray Waas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080214/0fb1cc86/attachment.htm>
More information about the MapServer-users
mailing list