John, this example uses a GML layer to read KML from a file. http://openlayers.org/dev/examples/kml-layer.html
hth, charles On Nov 30, 2010, at 6:22 PM, vanhoesenj wrote: > > Hi all - > > I've spent a lot of time reading the help, looking at the tutorials, etc. > Maybe I'm missing something but I can't seem to figure out how to reference > a locally-stored KML file so that it overlays onto my basemap (which is > actually an image) in OpenLayers. The KML example on the OL site is calling > a wms layer, I don't want to do that, I want load everything out of a local > directory. Any thoughts, suggestions, pointers? This is a very simple > step, so I'm sure I'm just missing something silly. Thanks in advance! > > cheers > John _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
