Re: Displaying a dynamic map - how?
The New Year's Eve site I do (www.firstnight.org http://www.firstnight.org/ ) needs a fairly complex map of Boston with locations and special markers which of course change every year.I've been doing the site going on nine years and the map is always one of the most challenging aspects. because you're treating it as a graphic rather than a database.the map is a database. the database is a map. used to be my motto (now of course it's just use unicode). if you stuff your basic spatial datasets into a db use some kind of GIS to return what you need and/or add spatial features on the fly, you will save yoruself quite a bit of trouble. if you can install CGI programs on your server don't mind fiddling w/some code a bit then mapserver's always a good bet http://mapserver.gis.umn.edu/ delivers a graphic to the client rendered on the fly from your database. and you can finely control quite a bit of it. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Displaying a dynamic map - how?
The New Year's Eve site I do (www.firstnight.org http://www.firstnight.org/ ) needs a fairly complex map of Boston with locations and special markers which of course change every year. Hi, Is the map you are refering to online now ? I cannot find any on the site, could you be more specific about the address? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Displaying a dynamic map - how?
Sorry - we're not really promoting the 31st any longer.;^)The map is here: http://www.firstnight.org/Content/NewYears/Artists/Index.cfm It's actually the print map given to us by the print designer (whom we have no control over and doesn't often take into account online needs being so swamped herself). The full map is also available in the PDF of the Program Guide (bottom of the page). Jim Davis From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 7:54 AM To: CF-Talk Subject: Re: Displaying a dynamic map - how? The New Year's Eve site I do (www.firstnight.org http://www.firstnight.org/ ) needs a fairly complex map of Boston with locations and special markers which of course change every year. Hi, Is the map you are refering to online now ? I cannot find any on the site, could you be more specific about the address? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Displaying a dynamic map - how?
There're actually a few problems here: 1) We don't have any control over the map, really.It's designed by the print designer for the paper program guide then given to us (usually at the last minute).We do, however often have to update the map when venues change before the event.But we (the web team) have no control over its look, design or contents. Since she works with the map for print only the files we get are less than ideal for online or dynamic use.For example you'd think that the roads would be all on layer, but instead there are hundreds of tiny independent objects creating the illusion of a single layer. 2) We're on a shared host (CrystalTech.net to be specific) and can't install many of the cooler things we'd like to.;^)Even if we could the level of traffic we got on the 31st is such that doing custom maps for each visitor (something I've always wanted to do) is really out of the question. as it is we're pushing the limits of our server for those few hours a year. That being said the map (or at least the venues) are indeed databased already.I store the actual map image coordinates (pixel x and y) and (at least for those I've gotten to) the GPS coordinates as well. 3) We just don't have much time.The site isn't anybody's full time job and with all the other requests nifty things for the map always seem to sink to the bottom of the list.I've wanted to turn those coordinates I've collected into a what's close to this feature for years now.;^) We're supposed to be getting a new map this year. the same one used by the city tourist bureau I believe.I've got high hopes. At any rate there is a specific look and feel to these maps that can't be changed - most of the GIS mapping systems I've found are unfortunately rather ugly.Our map isn't exact either - it's a highlight map showing most (but definitely not all) of the main streets in Boston, a few of the building and other landmarks and so forth with nothing to exact scale.It's really more art than fact but does the job, mostly (I always get at least one complaint that the train stations aren't listed on the map.) Jim Davis From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 5:28 AM To: CF-Talk Subject: Re: Displaying a dynamic map - how? The New Year's Eve site I do (www.firstnight.org http://www.firstnight.org/ ) needs a fairly complex map of Boston with locations and special markers which of course change every year.I've been doing the site going on nine years and the map is always one of the most challenging aspects. because you're treating it as a graphic rather than a database.the map is a database. the database is a map. used to be my motto (now of course it's just use unicode). if you stuff your basic spatial datasets into a db use some kind of GIS to return what you need and/or add spatial features on the fly, you will save yoruself quite a bit of trouble. if you can install CGI programs on your server don't mind fiddling w/some code a bit then mapserver's always a good bet http://mapserver.gis.umn.edu/ delivers a graphic to the client rendered on the fly from your database. and you can finely control quite a bit of it. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Displaying a dynamic map - how?
That being said the map (or at least the venues) are indeed databased already. I have build a tool to define these mappings 100% the DHTML way on any image, presently mostly photos. For the time being only circles are used, but it could be squares, rectangles etc as well. Have a glance at http://diplomes.med.umontreal.ca select a year in the Mosaque drop list, (ex: 1993) and pass the mouse over the image. The database contains presently about 8400 map areas, all defined online with a few clicks. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Displaying a dynamic map - how?
I get no images on any Mac browser Hi, Can you try again, I solved a little problem, and now it works on NT4.7 and NT7. I suppose (hope) it works also on Macs. I guess it should even work with Netscape 1.0, and may be even with Mosaic ! ;-) http://www.contentbox.com/claude/customtags/mapdata/mapdataDoc.cfm -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Displaying a dynamic map - how?
What's the best way to be changing the colours of the blocks, given that they're not rectangular and all different sizes? i'd suggest a simple GIS. it also allows users to interactively query a parcel, spatially search for parcels, etc. it can be as complicated or as simple as you need. How would you do it in flash without using remoting? well i'd be concerned at the effort getting the map into flash. especially if you want background features (streams, etc.). [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Displaying a dynamic map - how?
Hi, I have a custom tag (CFX_MapData) on the back burner that would do exactly this. It sets colors according to values from a databse on a gif file reprensing any map with a maximum of 250 areas. This tag is sort of a cousin of CFX_Mapclick tha you can see at the address below. If you are interested, let me set up a demo. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Displaying a dynamic map - how?
You can use Remoting in CF 5.0 - but you'd have to buy it. I'm not even sure you can use it at all. If you don't have CFMX or JRun, you can buy either Flash Remoting for Java or for .NET, but you wouldn't be able to write CFCs to interact with it. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Displaying a dynamic map - how?
Oops - thought I lost that mail. Anyway the second possibility with DHTML, if the areas are large, but slightly irregular, would be to set a grid of squares (or rectangles) under your display (using absolute positioning in a relatively positioned box) - as large as you could make them but small enough so that only one set of polygons is under each area.You can then use the transparency idea from the first item but instead of setting a single background color you'd set all of the background colors for that item's portion of the grid. When I did this the determination of the grid was very simplistic: I did it by eye then created a new property for each grid span which indicated what area it was under.Then I just looped through the span collection looking first of the existence of that property then for a match before changing color. It works, but depending on how irregular the objects are you can be dealing with very small grid cells. and Flash would probably be much, much easy in the long run. Jim Davis _ From: Jim Davis [mailto:[EMAIL PROTECTED] Sent: Monday, September 06, 2004 1:40 AM To: CF-Talk Subject: RE: Displaying a dynamic map - how? You can use Remoting in CF 5.0 - but you'd have to buy it.There are also several other methods to transfer information to Flash - you can use loadvars, pass in information as URL variables or as attributes in the Flash call in your HTML. Depending how irregular the patterns are you might be able to get away with DHTML.I've done this two ways in the past: 1) Instead of changing the color of the whole shape just pick a highlight color (in this it might be the roads or the homes for example, not the whole block).You can then make that part of the image transparent and let a settable background color show through.This is nice if the shapes are regular enough to allow for things not to overlap much. From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Monday, September 06, 2004 12:46 AM To: CF-Talk Subject: Displaying a dynamic map - how? I have a prospective client - a real estate developer who has a subdivision we're proposing a site for. He wants a map of his subdivision and wants to have the colours of the various blocks change depending on their sale status showing in a query when the page is called. (i.e. sold, available,on holding deposit etc). What's the best way to be changing the colours of the blocks, given that they're not rectangular and all different sizes? Before you yell FLASH REMOTING!it's CF5.0 only, not CFMX so flash remoting isn't an option. IS DHTML a way to go here, with layers changing colour based on the value of the 'status' field?or perhaps CSS? _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Displaying a dynamic map - how?
Depending on the quality of the original map (digital would be much better than a scan) you should be able to use the trace applications that come with most vector drawing tools to get the map into Flash. I'm a huge fan of CorelDraw which comes with CorelTrace - it'll do the job nicely given decent input. Jim Davis From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: Monday, September 06, 2004 2:40 AM To: CF-Talk Subject: Re: Displaying a dynamic map - how? What's the best way to be changing the colours of the blocks, given that they're not rectangular and all different sizes? i'd suggest a simple GIS. it also allows users to interactively query a parcel, spatially search for parcels, etc. it can be as complicated or as simple as you need. How would you do it in flash without using remoting? well i'd be concerned at the effort getting the map into flash. especially if you want background features (streams, etc.). [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Displaying a dynamic map - how?
I assumed that you could use Remoting for ASP and interact with it using the COM interface. I could definitely be wrong tho'. Jim Davis From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, September 06, 2004 2:03 PM To: CF-Talk Subject: RE: Displaying a dynamic map - how? You can use Remoting in CF 5.0 - but you'd have to buy it. I'm not even sure you can use it at all. If you don't have CFMX or JRun, you can buy either Flash Remoting for Java or for .NET, but you wouldn't be able to write CFCs to interact with it. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Displaying a dynamic map - how?
I assumed that you could use Remoting for ASP and interact with it using the COM interface. I don't think there is a Flash Remoting for ASP, just for .NET and Java. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Displaying a dynamic map - how?
Sorry - my bad. Jim Davis From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, September 06, 2004 4:26 PM To: CF-Talk Subject: RE: Displaying a dynamic map - how? I assumed that you could use Remoting for ASP and interact with it using the COM interface. I don't think there is a Flash Remoting for ASP, just for .NET and Java. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Displaying a dynamic map - how?
Ok, you can see a preview of the tag here: http://www.contentbox.com/claude/customtags/mapdata/mapdataDoc.cfm It should be available at tagStore in a couple of days, when the docs is completed. In your case, you would just need a table for all your blocs, each bloc should use a specific color in the palette and have the color index in a column, finally, each bloc could have all possible values in a status column, ie: 1 = sold, 2 = available 3 = on holding deposit, etc... Use a STEP of 1 -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Displaying a dynamic map - how?
Claude, this looks great.I think it'll do the job well.Our static map is at http://www.tallwoods.com.au/r_stages/r_stage6plan.html and as you can see it's got less than 100 lots to sell, so therere would be room for allocating that many colours to the tag.I guess one of the problems with this approach is if you have too many colours taken up for the tag to modify, you dont have anything left to draw the non-dynamic parts with.But in this case it looks like the approach will work. And it will get us around a problem the client dropped on us last night - it's a retirement village, and a lot of his prospective buyers have netscape4 browsers.So things like using CSS2 or flash arent goin to work.any browser should be able to display a gif though, and all the processing is done on the server.I like it. Please let me know when it's on the tag gallery. Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year - Original Message - From: Claude Schneegans [EMAIL PROTECTED] Date: Mon, 06 Sep 2004 21:11:27 -0400 Subject: Re: Displaying a dynamic map - how? To: CF-Talk [EMAIL PROTECTED] Ok, you can see a preview of the tag here: http://www.contentbox.com/claude/customtags/mapdata/mapdataDoc.cfm It should be available at tagStore in a couple of days, when the docs is completed. In your case, you would just need a table for all your blocs, each bloc should use a specific color in the palette and have the color index in a column, finally, each bloc could have all possible values in a status column, ie: 1 = sold, 2 = available 3 = on holding deposit, etc... Use a STEP of 1 -- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Displaying a dynamic map - how?
Claude I get no images on any Mac browser Dick On Sep 6, 2004, at 6:11 PM, Claude Schneegans wrote: Ok, you can see a preview of the tag here: http://www.contentbox.com/claude/customtags/mapdata/mapdataDoc.cfm It should be available at tagStore in a couple of days, when the docs is completed. In your case, you would just need a table for all your blocs, each bloc should use a specific color in the palette and have the color index in a column, finally, each bloc could have all possible values in a status column, ie: 1 = sold, 2 = available 3 = on holding deposit, etc... Use a STEP of 1 -- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Displaying a dynamic map - how?
Correction -- if I click on the Map icon I get the map (e.g. Maqp of France)-- just no detail images Dick Claude I get no images on any Mac browser Dick On Sep 6, 2004, at 6:11 PM, Claude Schneegans wrote: Ok, you can see a preview of the tag here: http://www.contentbox.com/claude/customtags/mapdata/mapdataDoc.cfm It should be available at tagStore in a couple of days, when the docs is completed. In your case, you would just need a table for all your blocs, each bloc should use a specific color in the palette and have the color index in a column, finally, each bloc could have all possible values in a status column, ie: 1 = sold, 2 = available 3 = on holding deposit, etc... Use a STEP of 1 -- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Displaying a dynamic map - how?
Hey Claude Since you are building this tag as we speak -- I always thought the nest looking maps were the ones that had the edges (5-6 pixels) a slightly darker shade of the same color -- gives a 3-D effect! Dick Correction -- if I click on the Map icon I get the map (e.g. Maqp of France)-- just no detail images Dick Claude I get no images on any Mac browser Dick On Sep 6, 2004, at 6:11 PM, Claude Schneegans wrote: Ok, you can see a preview of the tag here: http://www.contentbox.com/claude/customtags/mapdata/mapdataDoc.cfm It should be available at tagStore in a couple of days, when the docs is completed. In your case, you would just need a table for all your blocs, each bloc should use a specific color in the palette and have the color index in a column, finally, each bloc could have all possible values in a status column, ie: 1 = sold, 2 = available 3 = on holding deposit, etc... Use a STEP of 1 -- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Displaying a dynamic map - how?
Depending on the quality of the original map (digital would be much better than a scan) you should be able to use the trace applications that come with most vector drawing tools to get the map into Flash. well as you can see from the map in question most spatial data start life on paper. these have to be scanned vectorized--depending on the complexity quality of the source document can be like a trip thru hell's slums. think of something like a contour map (representing lines of elevation) in nepal. i've seen plenty of skanky flash maps, especially those representing spatial data with shared topology like polygons representing political boundaries (one boundary is shared among two polygons) where the polygons float around leaving ugly gaps when you symbolize them or dead areas that can't be identified/selected (the most frequently used GIS function is what the heck is that identification, point click on a spatial feature to find out what it is). i know it can be done well (i've some nice flash-based GIS apps, the ones that are produced by the oz antarctica folks like http://aadc-maps.aad.gov.au/atlas/ are sweet) but the effort to get something complex right isn't trivial. and the map in question is fairly complex. there's the lots, lot IDs, setbacks, roads, vegetation, etc. besides the bits of the golf course. and while that map might show lots' status, it's almost impossible to know the lot ids from that map. if i was a nosy so-and-so i'd like a lot near the entrance so i can watch comings goings, which exact lot is that? if i was a bit paranoid of terrible golfers, i might be worried about getting beaned by stray golfballs or having one come thru my living room window. which lots are in beaning distance of the fairway? I'm a huge fan of CorelDraw which comes with CorelTrace - it'll do the job nicely given decent input. when we did this for a living, i swore by r2v http://www.ablesw.com/ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Displaying a dynamic map - how?
Claude, this looks great.I think it'll do the job well.Our static map is at http://www.tallwoods.com.au/r_stages/r_stage6plan.html and as you can see it's got less than 100 lots to sell, so therere would be room for allocating that many colours to the tag. Yes, I look at your image, and there will be some work to do on it, but not that much, The way to do it would be to lower the number of colors to about 50 or 60, which is quite enough to get the bacgrounds, the trees, etc. Then you should define about 60 new coulours in the palette, and paint each area with one of them. and save the file in gif format. A couple of hours of work. it's a retirement village, and a lot of his prospective buyers have netscape4 browsers.So things like using CSS2 or flash arent goin to work.any browser should be able to display a gif though, and all the processing is done on the server.I like it. I just checked it under Netscape 4, and the image does not show, but is is certainly a minor problem, probably the same kind of problem Dick has on his Mac. Please let me know when it's on the tag gallery. Ok, but don't expect it to be free, although really not expensive. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Displaying a dynamic map - how?
I get no images on any Mac browser I don't get them under any version of Netscape either, it must be a problem with MIME types or so. The image is sent using a CFCONTENT TYPE=image/gif tag, but it probabily needs some more stuff added in the header, I'll check this tomorrow. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Displaying a dynamic map - how?
You don't have to tell me how much of a pain the ass maps can be.;^) The New Year's Eve site I do (www.firstnight.org http://www.firstnight.org/ ) needs a fairly complex map of Boston with locations and special markers which of course change every year.I've been doing the site going on nine years and the map is always one of the most challenging aspects. If you do what to vectorize it then I would first try to eliminate as much detail as you can from the map.For the conversion process you don't need any of the text, doted lines or cars for example.You might then posterize the image to cut down on the number of colors (it'll make for a cleaner trace). This looks like a surveyors map - you might want to see if you can get a hold of the pure lot map without the trees - that would make things much simpler. In fact if you might see if there's a digital original.It doesn't look to me like this was hand-drawn - many of the features are exact clones of each other.(Of course I still want to date Jessica Rabbit so my grasp of what's real and what's generated is tenuous at best).At the very least see if you can snag a higher resolution version to do the trace. After the trace most programs offer a node reduction tool (hopefully automated) that will simplify the vector at the cost of some detail. Once you've got the trace you could just use the lot shapes as an overlay using the real map as the base layer.If you did go with Flash you could make some very nice transparency effects using them. It's tedious as hell, but do the kind of thing you're talking about you're going to have get into this map pretty deeply anyway and a lot of this stuff just needs to be done by hand. Jim Davis _ From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: Monday, September 06, 2004 11:40 PM To: CF-Talk Subject: Re: Displaying a dynamic map - how? Depending on the quality of the original map (digital would be much better than a scan) you should be able to use the trace applications that come with most vector drawing tools to get the map into Flash. well as you can see from the map in question most spatial data start life on paper. these have to be scanned vectorized--depending on the complexity quality of the source document can be like a trip thru hell's slums. think of something like a contour map (representing lines of elevation) in nepal. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Displaying a dynamic map - how?
Thanks for your advice Jim.I never cease to be amazed at the amount of knowledge on this list.Collectively, I think CF-Talk comprises all there is to know about ColdFusion and its applicatoins. Anyway, Jim, I spoke to the client today again and he has a vector version of the map graphic.It's either a Illustrator file or a Freehand file,either way I can import it into Freehand and then work on it from there.I think image files can go directly into Flash2004Pro from Freehand.Or if not, saving it to EPSformat will allow it to be imported into almost anything.But having a vectorised drawing will most definitely cut down the amount of work i have to do, and if i'm careful it'll make sure i dont have to verify the accuracy of every detail, because it's the client's work not mine. Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year - Original Message - From: Jim Davis [EMAIL PROTECTED] Date: Tue, 7 Sep 2004 00:52:50 -0400 Subject: RE: Displaying a dynamic map - how? To: CF-Talk [EMAIL PROTECTED] You don't have to tell me how much of a pain the ass maps can be.;^) The New Year's Eve site I do (www.firstnight.org http://www.firstnight.org/ ) needs a fairly complex map of Boston with locations and special markers which of course change every year.I've been doing the site going on nine years and the map is always one of the most challenging aspects. If you do what to vectorize it then I would first try to eliminate as much detail as you can from the map.For the conversion process you don't need any of the text, doted lines or cars for example.You might then posterize the image to cut down on the number of colors (it'll make for a cleaner trace). This looks like a surveyors map - you might want to see if you can get a hold of the pure lot map without the trees - that would make things much simpler. In fact if you might see if there's a digital original.It doesn't look to me like this was hand-drawn - many of the features are exact clones of each other.(Of course I still want to date Jessica Rabbit so my grasp of what's real and what's generated is tenuous at best).At the very least see if you can snag a higher resolution version to do the trace. After the trace most programs offer a node reduction tool (hopefully automated) that will simplify the vector at the cost of some detail. Once you've got the trace you could just use the lot shapes as an overlay using the real map as the base layer.If you did go with Flash you could make some very nice transparency effects using them. It's tedious as hell, but do the kind of thing you're talking about you're going to have get into this map pretty deeply anyway and a lot of this stuff just needs to be done by hand. Jim Davis [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Displaying a dynamic map - how?
You could still do it in flash and cf using the loadVars() function. ?? Ricardo Mike Kear wrote: I have a prospective client - a real estate developer who has a subdivision we're proposing a site for. He wants a map of his subdivision and wants to have the colours of the various blocks change depending on their sale status showing in a query when the page is called. (i.e. sold, available,on holding deposit etc). What's the best way to be changing the colours of the blocks, given that they're not rectangular and all different sizes? Before you yell FLASH REMOTING!it's CF5.0 only, not CFMX so flash remoting isn't an option. IS DHTML a way to go here, with layers changing colour based on the value of the 'status' field?or perhaps CSS? How would you do it in flash without using remoting? Any ideas? -- Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Displaying a dynamic map - how?
You can use Remoting in CF 5.0 - but you'd have to buy it.There are also several other methods to transfer information to Flash - you can use loadvars, pass in information as URL variables or as attributes in the Flash call in your HTML. Depending how irregular the patterns are you might be able to get away with DHTML.I've done this two ways in the past: 1) Instead of changing the color of the whole shape just pick a highlight color (in this it might be the roads or the homes for example, not the whole block).You can then make that part of the image transparent and let a settable background color show through.This is nice if the shapes are regular enough to allow for things not to overlap much. From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Monday, September 06, 2004 12:46 AM To: CF-Talk Subject: Displaying a dynamic map - how? I have a prospective client - a real estate developer who has a subdivision we're proposing a site for. He wants a map of his subdivision and wants to have the colours of the various blocks change depending on their sale status showing in a query when the page is called. (i.e. sold, available,on holding deposit etc). What's the best way to be changing the colours of the blocks, given that they're not rectangular and all different sizes? Before you yell FLASH REMOTING!it's CF5.0 only, not CFMX so flash remoting isn't an option. IS DHTML a way to go here, with layers changing colour based on the value of the 'status' field?or perhaps CSS? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]