How to use gml or shp files on Google Maps api v3?

2019-08-24 05:22发布

问题:

Does someone know how to use an .gml or .shp file on Google Maps api v3?

回答1:

You'll need to convert those files into KML or GeoRSS so that they canbe integrated into the Google Map with the KML and GeoRSS layers:

https://developers.google.com/maps/documentation/javascript/layers#KMLLayers