Comments (13)
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.
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.
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.
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.
Yes, mailbox-gl-js not good performance in mobile application. Should I use this plugin or not
from mapbox.
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.
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.
No it won't. Leaflet just for 2D.
from mapbox.
Oh but I want 3d also. Anyway thanks a lot for giving me your valuable time.
from mapbox.
@risinghero how to use leaflet+mapbox? can you give me any reference please
from mapbox.
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.
Ok thanks I will check. You mean leflet right. I think leflet base on mapbox, am I right?
from mapbox.
Yes, Leaflet is much faster than mapbox gl js. Thanks a lot @risinghero
from mapbox.
Related Issues (20)
- In ios map is not showing ??
- This project is dead. HOT 4
- Not able to import mapbox-gl npm package and cordova-plugin-mapbox HOT 1
- Adding JS event on pin click HOT 2
- Search bar HOT 1
- addMarkerCallback does not show clickable button in popup on Android 5.1.0 HOT 3
- 3D Map Support HOT 1
- Add Polyline & Alpha support
- Failed to fetch plugin HOT 2
- Mapbox.hide - PhoneGap Cordova HOT 1
- use navigation in phonegap-based app
- How to use with ionic 3 HOT 3
- Mapa cortado cuando cambio la orientación del celular. HOT 6
- como usar clearBackground: true,
- Go to user's current location
- active or not HOT 9
- No support and maintainance HOT 9
- Where is Mapbox plugin Documentation ? HOT 1
- AAPT: error: duplicate value for resource 'attr/layout_anchorGravity' with config ''.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapbox.