-1

Trying to find a good resource on KML files for outlines of individual states (specifically CA), or how to generate the file—but am running short on my searches. Any pointers appreciated.

RooWM
  • 583
  • 9
  • 23

2 Answers2

1

One option would be to extract the <Placemark> for California from the USA_adm1.kmz file (adm level 1 is states) from http://www.gadm.org/

california kml on a google maps API v3 map

geocodezip
  • 158,664
  • 13
  • 220
  • 245
  • Much appreciated. So to use this as a layer so that the map will show only California, I would do something like this? `var ctaLayer = new google.maps.KmlLayer({ url: 'url/California.kml', map: map }); ` – RooWM Jan 27 '17 at 17:47
0

Census Tiger provides boundaries in KML: https://www.census.gov/geo/maps-data/data/tiger-kml.html

You would have to extract and serve them up from your own server - which is reasonable.

rheitzman
  • 2,247
  • 3
  • 20
  • 36