Change from google map to osm showing kml via checkbox
hi,
i have a google map that shows kml polygons on it by clicking the apropriate checkbox.
I would prefer to have openstreetmap as the main map instead of google but cannot find a solution to this, I know how to show the osm map but do not know how to show the kml files in exactly the same way as the google map.
Google Map test
http://gmdesign.org.uk/maptest/1
OSM Map Test
http://gmdesign.org.uk/maptest/2
Can you suggest or fix it so the osm map shows the kml files on it in the same was as the google one does.
OSM has an option to show kml but that is by a slide in sidebar at top right of screen but this is not what i am after, am after the checkbox style same as google map.
the scripts are files are on the links aboveabove
I did see a similar osm checkbox but as its in .asp i cannot view the sourcecode.
http://gis.ibbeck.de/ginfo/apps/OLExamples/OL26/examples/styles_unique_with_group_wfs.html