[Mapserver-users] zoom in/out buttons

Michael Smith msmith at sanangelompo.org
Fri Dec 19 11:32:12 PST 2003


Thanks for the info Richard.  I know have the icons just need the js.  Do
you or anyone know of a source to get some javascripts for the zoom
function?

-----Original Message-----
From: Richard Greenwood [mailto:Rich at GreenwoodMap.com] 
Sent: Friday, December 19, 2003 1:03 PM
To: Michael Smith
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] zoom in/out buttons

At 10:42 AM 12/19/2003, you wrote:
>Where can I get zoom in/out icons for my mapserver and the code for it?

If you see buttons on a website that you like, you can generally right click
on each one and save the image. If you want to use buttons from an existing
application e.g. ArcView, you can do a screen capture with
CTL-ALT-PrintScreen and then crop the captured image with Photoshop or
similar.

The code behind the buttons will depend on how you chose to implement the
buttons in your application. Frequently this is done with javascript. If you
want to view the javascript associated with a page, use your browser's "view
source" option. If the javascript is loaded from a seperate source file you
will see a reference to the external file in the page source. 
Generally you can enter the name of the external javascript file into your
browser's address line to retrieve the external javascript file.

Viewing the javascript and HTML on websites is an excellent way to learn.

R


Richard W. Greenwood, PLS
Greenwood Mapping, Inc.
Rich <at> GreenwoodMap <dot> com
(307) 733-0203
http://www.GreenwoodMap.com 





More information about the MapServer-users mailing list