Giter Site home page Giter Site logo

Comments (7)

neilboyd avatar neilboyd commented on July 4, 2024

I seem to remember there was a discussion about this a while ago and the conclusion was that Mercator is a bit too fundamentally incorporated to allow another tile system.

from osmdroid.

apachemaven avatar apachemaven commented on July 4, 2024

I am sorry if this is a duplicate issue, I have searched in the issue page in google code.

So that's to say I can not use other tile system? That's a pity.

from osmdroid.

neilboyd avatar neilboyd commented on July 4, 2024

It's good that you raised it again because I also looked for the previous discussion and didn't find it, so maybe I'm mistaken and there was no discussion and it is possible. This remains a valid question.

from osmdroid.

kurtzmarc avatar kurtzmarc commented on July 4, 2024

My SafeCanvas_To_Projection_Changes branch really moves everything towards using the Projection class exclusively for coordinate system calculations. That should position us with less of a reliance on Mercator and allow someone to implement a custom tile projection by implementing their own Projection class. I am nearing completion on that and hope to merge it soon.

See #12

from osmdroid.

alex3305 avatar alex3305 commented on July 4, 2024

Are custom projections already usable in the latest version of osmdroid? Or is there still work that has to be done?

If it's already usable, maybe you could update the wiki regarding how to use a custom projection.

from osmdroid.

kurtzmarc avatar kurtzmarc commented on July 4, 2024

I have merged my changes into trunk. Everything is using the abstracted Projection class so it shouldn't be necessarily tied to Mercator. From here, you should be able to subclass MapView and return your own custom projection in getProjection(). We don't officially support different projections, but we may be able to accommodate them. Give it a try and see how it works.

from osmdroid.

kurtzmarc avatar kurtzmarc commented on July 4, 2024

I am going to close this issue since #12 is complete. If you need additional assistance, please reopen.

from osmdroid.

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.