No Need To Add Scroll Offset In OpenLayer For Controls On Map--> Just Set The Map At The Center While Doing Operations
var center = new OpenLayers.LonLat(78, 22);
var proj = new OpenLayers.Projection("EPSG:4326");
center.transform(proj, map.getProjectionObject());
map.setCenter(center);
Monday, April 5, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment