Skip to content

Map extent is increased after setting base layer #1528

@balab2020

Description

@balab2020

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions