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

Improve WGS84 support #2438

Merged
merged 1 commit into from
Feb 24, 2016
Merged

Improve WGS84 support #2438

merged 1 commit into from
Feb 24, 2016

Conversation

trepagnier
Copy link
Contributor

To resolve issue #2432.

(Issue: If a map contains a layer with a bounding box, the map's center value is forced to Web Mercator, regardless of the DEFAULT_MAP_CRS value in settings.py.)

Rewritten so that the map's center point is returned in coordinates if DEFAULT_MAP_CRS is EPSG:4326; otherwise, it defaults to Web Mercator.

@simod
Copy link
Member

simod commented Feb 24, 2016

@darinacosta could you fix this flake8 issue https://travis-ci.org/GeoNode/geonode/builds/111528001#L2454?

@trepagnier
Copy link
Contributor Author

@simod sorry about that. fixed! thanks.

jj0hns0n added a commit that referenced this pull request Feb 24, 2016
@jj0hns0n jj0hns0n merged commit ac428aa into GeoNode:master Feb 24, 2016
@trepagnier trepagnier deleted the fix-srs-hardcoding branch February 24, 2016 19:10
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.

3 participants