I need to convert a shapefile (either polygon shp with millions of polygons or polyline shapefile derived from the polygons) into a format to use online in Google Maps. I currently use GDAL codes including MapTileCluster Pro to create image tiles of high resolution rasters to display via the Google Maps web interface, which works very well. My problem is displaying very large vector files that well exceed the limits for KML files in Google Maps (https://developers.google.com/kml/documentation/mapsSupport).
I have tried a variety of different methods in converting shapefiles to KML, which is a pretty trivial process for smaller datasets (ArcGIS, ogr2ogr, Global Mapper, etc.).
I have also tried burning the vector files to a raster using ogr2ogr and ArcGIS polyline to raster tool; however, the raster looks good either zoomed in or zoomed out, pending the raster size, not not both.
I would like suggestions on how to display large vector files (millions of polygons) via Google Maps.