Skip to content

Add Customizable layer origin for ol3 wms Fix #1184#1186

Merged
mbarto merged 2 commits into
geosolutions-it:masterfrom
ndufrane:wms_tilegrid_resolutions
Oct 27, 2016
Merged

Add Customizable layer origin for ol3 wms Fix #1184#1186
mbarto merged 2 commits into
geosolutions-it:masterfrom
ndufrane:wms_tilegrid_resolutions

Conversation

@ndufrane

Copy link
Copy Markdown
Contributor

Hi,

This PR allow the customisation of origin of WMS Layer in OL3. This is related to #1184.
This PR configure also the correct resolutions of the map to the tilegrid instead of default OL3 resolutions.

Regards,

@simboss simboss added the ready label Oct 21, 2016
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.1%) to 80.926% when pulling 1e3f77e on ndufrane:wms_tilegrid_resolutions into e2ef856 on geosolutions-it:master.

@mbarto mbarto closed this Oct 21, 2016
@mbarto mbarto reopened this Oct 21, 2016
@ndufrane

Copy link
Copy Markdown
Contributor Author

Travis got some error due to DDOS to Dyn yesterday -> npm ERR! network getaddrinfo ENOTFOUND github.com

@mbarto mbarto closed this Oct 24, 2016
@mbarto mbarto reopened this Oct 24, 2016
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.04%) to 80.833% when pulling 1e3f77e on ndufrane:wms_tilegrid_resolutions into e2ef856 on geosolutions-it:master.

})
});
}
const mapSrs = map && map.getView() && map.getView().getProjection() && map.getView().getProjection() && map.getView().getProjection().getCode() || 'EPSG:3857';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you remove duplicated map.getView().getProjection() check?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure ! I'am not too proud of those lines... :(

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-1.1%) to 79.665% when pulling 2dca644 on ndufrane:wms_tilegrid_resolutions into e2ef856 on geosolutions-it:master.

@mbarto mbarto merged commit 503c9b7 into geosolutions-it:master Oct 27, 2016
@ndufrane ndufrane deleted the wms_tilegrid_resolutions branch October 28, 2016 07:18
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

Successfully merging this pull request may close these issues.

4 participants