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/

Belongs to this person: Daniel <[EMAIL PROTECTED]> , not heard from him.
 
 

Thanks

Beheen

 


From: UMN MapServer Users List [mailto:[EMAIL PROTECTED] On Behalf Of Randy James
Sent: Thursday, September 28, 2006 5:03 PM
To: [email protected]
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

 

 

randy

"Trimble, Beheen" <[EMAIL PROTECTED]> 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.

Reply via email to