Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asptoday_discuss thread: Mapping Problems!


Message #1 by "Lee sen ying" <chaihoonlee@y...> on Fri, 7 Jun 2002 09:51:21
Dear helper,
For user to view our property details such as Lot Number, Price, Built in
Area and status, I'm using Adobe Photoshop to create an image file (JPG
format) which look like a table (it is actually a Site Plan) with a lot of
rectangles where every rectangle represent one Lot. To allow my user to 
know
the status of our property (Houses), I have to differenciate it by using
different color. For instances, Yellow Color for Not available, mean have
already sold and Orange color for still available, means not yet sold out.
Everytime when the status change (sold out), I need to update the Image 
file
by using Adobe Photoshop, this is time consuming and lead to late update of
my property information.

What I intend to do now is I want my image change on the spot (means when
sale people sold out an unit of the house) according to the change of the
property status. I Map the rectangle, so when user mouse over the
Lot (rectangle), the information of the lot will be displayed. I'm now 
using Javascript layer function and JPEG image, and it did
well.

Actually, I have an idea, that is I create two rectangles with two color 
and use these two rectangles (image) to make up a big image
and i toggle the image base on the status, what do u think??

is there any other better method that I can use to solve my problem. 
Please help!

kindly go to http://www.setiahomes.com/johor/splan_amelia1.htm to see the 
example.
Thanks You!

charon
Message #2 by wrox@r... on Thu, 13 Jun 2002 22:46:49
Do you mean you want to change the colour of each rectangle dynamically 
in the ASP code or perhaps javascript?

BTW - JPG may not be the best format. your image is 96k and using four 
colours in GIF reduced it to ~28k

> Dear helper,
F> or user to view our property details such as Lot Number, Price, Built 
in
A> rea and status, I'm using Adobe Photoshop to create an image file (JPG
f> ormat) which look like a table (it is actually a Site Plan) with a lot 
of
r> ectangles where every rectangle represent one Lot. To allow my user to 
k> now
t> he status of our property (Houses), I have to differenciate it by using
d> ifferent color. For instances, Yellow Color for Not available, mean 
have
a> lready sold and Orange color for still available, means not yet sold 
out.
E> verytime when the status change (sold out), I need to update the Image 
f> ile
b> y using Adobe Photoshop, this is time consuming and lead to late 
update of
m> y property information.

> What I intend to do now is I want my image change on the spot (means 
when
s> ale people sold out an unit of the house) according to the change of 
the
p> roperty status. I Map the rectangle, so when user mouse over the
L> ot (rectangle), the information of the lot will be displayed. I'm now 
u> sing Javascript layer function and JPEG image, and it did
w> ell.

> Actually, I have an idea, that is I create two rectangles with two 
color 
a> nd use these two rectangles (image) to make up a big image
a> nd i toggle the image base on the status, what do u think??

> is there any other better method that I can use to solve my problem. 
P> lease help!

> kindly go to http://www.setiahomes.com/johor/splan_amelia1.htm to see 
the 
e> xample.
T> hanks You!

> charon

  Return to Index