Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- map = new OpenLayers.Map("map", {'theme': null});
- var gmap = new OpenLayers.Layer.GoogleNG({type: google.maps.MapTypeId.HYBRID});
- var sheds = new OpenLayers.Layer.Vector("KML", {
- projection: map.displayProjection,
- strategies: [new OpenLayers.Strategy.Fixed()],
- protocol: new OpenLayers.Protocol.HTTP({
- url: "http://www.geosprocket.com/files/vthuc12a.kml",
- format: new OpenLayers.Format.KML({
- extractStyles: true,
- extractAttributes: true
- })
- })
- });
- map.addLayers([gmap,sheds]);
Advertisement
Add Comment
Please, Sign In to add comment