yep, can recommend that alistapart article that others have mentioned aswell.
weird timing, that very article inspired this map i did a week or so ago for a project yet to see the light of day.
http://www.c41.com.au/map/
the sprite image it uses is here:
http://www.c41.com.au/map/map_australia.gif
Mike,
this works well but I'd be hesitant about committing to it if you have a detailed map with heaps of properties. it could get overly complicated very quickly due to the shear number of hotspots. and when combined with irregular shapes call for duplicate versions of the graphic to factor in overlapping & display correctly (hence the 4 versions of the map in the above linked gif example).
of course the great thing is when it's viewed (or heard) without css. its just a straight text list.
hth,
pete
>
> On Mon, 2004-09-06 at 09:33, Mkear wrote:
> > Has anyone used CSS to do colour changes over areas in a map? Is
> > that a practical way to do it?
> >
> > I have a prospective client who wants a map of a subdivision he's
> > doing and wants to have the housing blocks coloured differently
> > depending on sale status, availability etc, and to change colour when
> > you roll the mouse over it. I was thinking of setting the inital
> > state of the area based on a dynamic value pulled from the database
> > (i.e sold, available, holding deposit) and with hover state for the
> > mouseover.
> >
> > Is it a practical thing to be thinking about CSS for this, given that
> > the areas aren't rectangular?
> >
> > Or can anyone think of a better way to do it? (My intial thought
> > was to use flash but we've crossed that idea off for a number of
> > reasons)
> >
> > Cheers
> > Mike Kear
> > AFP Webworks
> > Windsor, NSW, Australia .
> >
> >
