I'm sure there's something out there that will draw the actual map for
you.  Probably several somethings.  I can't imagine people who want
that behaviour start from scratch every time, but maybe they do.  If
you can find one, just a matter of finding one and wiring it up to
your application.

If you can't find something you can use, I'd look at creating the map
in photoshop/fireworks/freehand/whatever and then exporting each state
by itself with a transparent background.  When the map is needed, use
some server-side image manipulation stuff (alagad image component,
image.cfc, native Java) to composite the right 50 images (one per
state) together and output the result.  The coloring can be provided
by a color overlay (basically using the state as a mask).  If you have
a static color set, you could also just export several sets of states
in each color and save doing that dynamically.

Assuming your data won't be changing too frequently (so you can cache
the maps for a while) that's probably not horribly inefficient.  But
I'd try REALLY hard to find a package that'll do it for you out of the
box.  ;)

cheers,
barneyb

On 12/14/06, Mike Chabot <[EMAIL PROTECTED]> wrote:
> I am looking to create a map of the US where states are assigned
> different colors based on database data. The result would be similar
> to those blue-red political maps. Does anyone have any suggestions?
>
> CFMX 7 / SQL Server 2005 / Windows 2003
>
> Thank you,
> Mike Chabot
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264092
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to