Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var bounds = new OpenLayers.Bounds(
- 66.76242541918388, 6.756367055683252,
- 98.64805108111362, 37.558217731396034
- );
- var map = new OpenLayers.Map('map',
- {
- maxExtent: bounds,
- maxResolution: 0.10,
- projection: "EPSG:4042",
- center: new OpenLayers.LonLat(79, 21)
- }
- );
- var bounds = new OpenLayers.Bounds(
- 66.76242541918388, 6.756367055683252,
- 98.64805108111362, 37.558217731396034
- );
- var map = new OpenLayers.Map('map',
- {
- maxExtent: bounds,
- maxResolution: 0.10,
- //projection: "EPSG:4042",
- center: new OpenLayers.LonLat(79, 21)
- }
- );
- var map = new OpenLayers.Map('map',
- {
- units : 'm', // <-define units
- maxExtent: bounds,
- maxResolution: 0.10,
- //projection: "EPSG:4042",
- center: new OpenLayers.LonLat(79, 21)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement