Code Monkey home page Code Monkey logo

Comments (4)

sothawo avatar sothawo commented on August 12, 2024

version 1.22.0 introduced the possibility to set the projection for the map. Although the OpenLayers API for TileWMS shows the projection property, this seems not to work with the WMS source. I am no specialist for different Geo server types like WMS, so I cannot say if the server needs to support this as well.

I'm not sure how to handle this. I could remove the projection attribute from the WMS Tile object and log a warning, when a WMS server is selected, that custom projections are not used for WMS tiles.

from mapjfx.

sothawo avatar sothawo commented on August 12, 2024

I think I will log a warning if the map is initialized with a custom projection and the user switched to WMS that custom projectiosn are not supported for WMS servers.

I do not have the time to dig deeper into this and find out if it possible to have custom projections on WMS servers, and this solution would at least get it working again for the normal projection.

from mapjfx.

lgoltz avatar lgoltz commented on August 12, 2024

Thank you for your promt reply! This is fine for us (otherwise we check if we can implement this enhancement and create a pull request).

from mapjfx.

sothawo avatar sothawo commented on August 12, 2024

https://www.sothawo.com/2019/05/mapjfx-2-7-1-and-1-26-1-with-fixes-for-wms-servers/

from mapjfx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.