ImagMap Again!

Trimble, Beheen btrimble at SFWMD.GOV
Fri Sep 29 15:21:53 EDT 2006


All,

 

I finally got the imagemap work! However, only two of the point
attributes shows up on mouse over! I look at the page, all the
attributes are there but they don't show the text! I can see all the
points on the page and each point I click, only 2 same attributes shows
up! Any idea?

 

Also I am looking for the src codes for this: "A very simple demo is
visible at http://dev.camptocamp.com/df/im/
<http://dev.camptocamp.com/df/im/> " 

Belongs to this person: Daniel <daniel.faivre at CAMPTOCAMP.COM> , not
heard from him.
 
 

Thanks

Beheen

 

  _____  

From: UMN MapServer Users List [mailto:MAPSERVER-USERS at lists.umn.edu] On
Behalf Of Randy James
Sent: Thursday, September 28, 2006 5:03 PM
To: MAPSERVER-USERS at lists.umn.edu
Subject: Re: [UMN_MAPSERVER-USERS] What is ids in imagemap example?

 

i believe id is the name of a variable, the two % show the start and the
end of the variable.

check out

 

http://umn.mapserver.ch/MapServer/en/syntax.htm

 

randy

"Trimble, Beheen" <btrimble at SFWMD.GOV> wrote:

	Hey People,

	 

	I am still trying to make the mouseover works in my application!

	 

	Do you know what is %ids% in below map?  Where this is defined?

	 

	Thanks

	Beheen

	 

	 

	 

	MAP
	  NAME "TEST"
	  SIZE 380 450
	  EXTENT  180000 4816000 773000 5474000
	  UNITS METERS
	 
	  IMAGECOLOR 252 252 252
	 
	  SHAPEPATH "/r01/data/drs"
	 
	  FONTSET "/usr/local/mapserver/fonts/fonts.list"
	 
	  WEB
	    HEADER "templates/imagemap_header_example.html"
	    FOOTER "templates/imagemap_footer_example.html"
	    IMAGEPATH "/usr/local/www/docs_maps/tmp/"
	    IMAGEURL "/tmp/"
	  END
	 
	  QUERYMAP
	    STATUS ON
	    STYLE NORMAL
	  END
	 
	  LAYER
	    NAME county
	    STATUS OFF
	    DATA "data/bdry_counpy2_gen500"
	    TYPE
	 POLYGON
	    # LABELITEM "CTY_ABBR"
	    CLASS
	      EXPRESSION ('[COUN]' in '%ids%')
	      STYLE 
	        COLOR "#BD9E5D" # "#A27528" 
	        OUTLINECOLOR 50 50 50 
	      END
	    END
	    CLASS
	      COLOR 255 255 255
	      OUTLINECOLOR 50 50 50 
	    END    
	    TEMPLATE "templates/county_example.html"
	  END # counties
	END

	 

	 

 

  

  _____  

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail.
<http://us.rd.yahoo.com/evt=42297/*http:/advision.webevents.yahoo.com/ma
ilbeta> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060929/405a457c/attachment.html


More information about the mapserver-users mailing list