Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map extent is increased after setting base layer #1528

Open
balab2020 opened this issue Jun 1, 2018 · 0 comments
Open

Map extent is increased after setting base layer #1528

balab2020 opened this issue Jun 1, 2018 · 0 comments

Comments

@balab2020
Copy link

We are using release version and rendering WMS, OSM, Google and Bing maps. WMS layer maps are configured with (-180, -90, 180, 90) bounds. When we create map control and add WMS layer map as base layer, the extent values are changed like -180,-101.74331550802,180,101.74331550802 (-90,90 -> increased by 13 number) and it is inconsistent with browser window size.

Any one faced similar issue or any resolution? Thanks in advance.

default options to map control
{ fractionalZoom: true, fallThrough: true, tileManager: null, maxResolution: "auto", projection:"EPSG:4326" maxExtent: new OpenLayers.Bounds(-180, -90, 180, 90), restrictedExtent: new OpenLayers.Bounds(-180, -90, 180, 90), units: "degrees", reset: true, tileSize: new OpenLayers.Size(256, 256) }

Please let me know if any information required?

@balab2020 balab2020 changed the title Extent Map extent is increased after setting base layer Jun 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant