var map = new OpenLayers.Map({ div: "map", layers: [new OpenLayers.Layer.OSM()], controls: [ new OpenLayers.Control.Navigation({ dragPanOptions: { enableKinetic: true } }), new OpenLayers.Control.Attribution(), new OpenLayers.Control.Zoom() ], center: [0, 0], zoom: 1 }); var map2 = new OpenLayers.Map({ div: "map2", layers: [new OpenLayers.Layer.OSM()], controls: [ new OpenLayers.Control.Navigation({ dragPanOptions: { enableKinetic: true } }), new OpenLayers.Control.Attribution(), new OpenLayers.Control.Zoom({ zoomInId: "customZoomIn", zoomOutId: "customZoomOut" }) ], center: [0, 0], zoom: 1 });