julz wrote:
> I'm totally new to Google Maps API. I need to color code states based
> on some criteria. My understanding so far is that I probably need to
> use a shape file containing all the lats and longs for the US and
> create an overlay on my google map. I do have the shape file itself
> (group of shp, shx, dbf, txt). I have read postings related to this
> topic in this forum, however, none seem to work for me (although I
> might just not understand things well enough). I don't want to use
> 3rd party software and I don't have PHP. Somehow I need to read the
> shape file in, possibly convert it to xml (and I'm guessing here), and/
> or import it into my local DB? Can someone help because I'm clueless
> at this point.....thanks!
You will find KML files in eight different colors for all states
except Alaska & Hawaii at:
http://polylibs.googlepages.com/<id>_<rrggbb>.kml
<id> is assigned by the Census Department:
st01 Alabama
st04 Arizona
st05 Arkansas
st06 California
st08 Colorado
st09 Connecticut
st10 Delaware
st11 District of Columbia
st12 Florida
st13 Georgia
st16 Idaho
st17 Illinois
st18 Indiana
st19 Iowa
st20 Kansas
st21 Kentucky
st22 Louisiana
st23 Maine
st24 Maryland
st25 Massachusetts
st26 Michigan
st27 Minnesota
st28 Mississippi
st29 Missouri
st30 Montana
st31 Nebraska
st32 Nevada
st33 New Hampshire
st34 New Jersey
st35 New Mexico
st36 New York
st37 North Carolina
st38 North Dakota
st39 Ohio
st40 Oklahoma
st41 Oregon
st42 Pennsylvania
st44 Rhode Island
st45 South Carolina
st46 South Dakota
st47 Tennessee
st48 Texas
st49 Utah
st50 Vermont
st51 Virginia
st53 Washington
st54 West Virginia
st55 Wisconsin
st56 Wyoming
<rrggbb> is the color. Each color component must be either "ff" or
"00"
For example, the RED KML file for Michigan is:
http://polylibs.googlepages.com/st26_ff0000.kml
Try:
http://maps.google.com/?q=http://polylibs.googlepages.com/st26_ff0000.kml
Also:
www.polyarcs.us/poly
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---