Sha256: 0fcaad60299ef80f09c6ca0e8f8f452fcddf59d14128deba447d02334e8d8ba5
Contents?: true
Size: 561 Bytes
Versions: 7
Compression:
Stored size: 561 Bytes
Contents
var map; function init() { map = new OpenLayers.Map({ div: "map", projection: new OpenLayers.Projection("EPSG:900913") }); var osm = new OpenLayers.Layer.OSM(); var gmap = new OpenLayers.Layer.Google("Google Streets"); map.addLayers([osm, gmap]); map.addControl(new OpenLayers.Control.LayerSwitcher()); map.setCenter( new OpenLayers.LonLat(10.2, 48.9).transform( new OpenLayers.Projection("EPSG:4326"), map.getProjectionObject() ), 5 ); }
Version data entries
7 entries across 7 versions & 1 rubygems