Giter VIP home page Giter VIP logo

Comments (13)

risinghero avatar risinghero commented on July 18, 2024

Hi @ansarikhurshid786. Map is rendered inside ios and android code. You can try to fork plugin and add yourself into ios and android code required button.

from mapbox.

ansarikhurshid786 avatar ansarikhurshid786 commented on July 18, 2024

I want to use it because it give best user experience. Presently I am using mailbox-gl-js which is really bad user experience in ionic 3 android and iOS application.

from mapbox.

ansarikhurshid786 avatar ansarikhurshid786 commented on July 18, 2024

I don't have that much experience to fork and add my own. can you help me add button over map and how to load map in specific html element id.

from mapbox.

risinghero avatar risinghero commented on July 18, 2024

how to load map in specific html element id

I can't since it requires lots of work and time. You can look at @dagatsoin branch. In my experience mapbox-gl-js has some problems with old browsers and it's performance is not that good. Maybe it's better to use just leaflet+mapbox tiles

from mapbox.

ansarikhurshid786 avatar ansarikhurshid786 commented on July 18, 2024

Yes, mailbox-gl-js not good performance in mobile application. Should I use this plugin or not

from mapbox.

risinghero avatar risinghero commented on July 18, 2024

Should I use this plugin or not

Well it's up to you to decide. But I don't think that adding elements over map will be ready soon.
Regarding mapbox-gl-js instead of it just use leaflet+mapbox tiles it won't require many changes in your code and you will get good performance. The only problem-it won't work offline,

from mapbox.

ansarikhurshid786 avatar ansarikhurshid786 commented on July 18, 2024

ok thanks. just tell me leaflet + mapbox will support 3d also. if you have link for leaflet + mapbox can you please send me.

from mapbox.

risinghero avatar risinghero commented on July 18, 2024

No it won't. Leaflet just for 2D.

from mapbox.

ansarikhurshid786 avatar ansarikhurshid786 commented on July 18, 2024

Oh but I want 3d also. Anyway thanks a lot for giving me your valuable time.

from mapbox.

ansarikhurshid786 avatar ansarikhurshid786 commented on July 18, 2024

@risinghero how to use leaflet+mapbox? can you give me any reference please

from mapbox.

risinghero avatar risinghero commented on July 18, 2024

Hi, @ansarikhurshid786 . Here is example
But I think that you can add button into this plugin by yourself - just fork it, add button into android and iOS code and add events

from mapbox.

ansarikhurshid786 avatar ansarikhurshid786 commented on July 18, 2024

Ok thanks I will check. You mean leflet right. I think leflet base on mapbox, am I right?

from mapbox.

ansarikhurshid786 avatar ansarikhurshid786 commented on July 18, 2024

Yes, Leaflet is much faster than mapbox gl js. Thanks a lot @risinghero

from mapbox.

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.