Comments (14)
Good call, I'll do that!
from mapbox.
https://www.npmjs.com/package/cordova-plugin-mapbox 👍
from mapbox.
Thank you @EddyVerbruggen
from mapbox.
BTW The PhoneGap Build is successfully able to compile the iOS binary from NPM now.
Unfortunately the Android compilation fails. Are all the dependencies properly specified?
The error log: https://gist.github.com/klokan/a4cc3520d77563cc62ae#file-android-log-L211
Any hint on this issue?
from mapbox.
Hmm, which cordova-android version are you using?
from mapbox.
This error log is from the PhoneGap Build hosted service. They write now:
PhoneGap Build (iOS / Android / Windows) cli-5.2.0 (3.9.1 / 4.1.1 / 3.8.1)
from mapbox.
Ah, phonegap build.. let me look at that shortly!
from mapbox.
Thank you for your time and great support!
BTW We are trying to render with your wrapper for MapBox GL library our own free and open-source vector tiles for world or countries, which we have produced as part of the research project http://osm2vectortiles.org/.
It runs fine with MabBox GL JS (see http://osm2vectortiles.org/maps/), but with native instead of WebGL JavaScript it would be much better!
OSM2VectorTiles is very exciting project - it means you can host the world maps on your own server or distribute them together with the apps offline and without TOS restrictions. Mapping data are derived from OpenStreetMap database same as MapBox vector maps.
Another issue we hit with your wrapper so far is inability to specify custom map style (JSON file) for the map. In case you would have any tip for how to make this happen, your help would be greatly appreciated as well.
Details are at: klokantech/osm-vector-cordova#2
from mapbox.
Looking really cool!
Would you want to load that json file locally (www folder) or remotely (http)?
from mapbox.
Technically both should run according the MapBox Native documentation. Local (www folder) is fine for us...
from mapbox.
Mapbox is building their SDK with Android SDK level 23 which doesn't seem supported yet by them. Can you check with them (in that issue or on Twitter) if/when they support v23?
from mapbox.
I have asked there...
from mapbox.
Thanks. I'd love for it to work there as well. The last Mapbox Android SDK version built with 22 is quite old so I'd rather not resort to that. And PGB should up their game by adding SDK level 23 support.
from mapbox.
@EddyVerbruggen Seems 1.2.0
isn't available on the npm repo.
josemoreira@MBP-de-JM ~/g/g/f/frontend> npm info cordova-plugin-mapbox
{ name: 'cordova-plugin-mapbox',
description: 'Need native maps? Look no further!',
'dist-tags': { latest: '1.1.2' },
versions: [ '1.1.2' ],
maintainers: [ 'eddyverbruggen <[email protected]>' ],
time:
{ modified: '2016-01-06T20:56:16.938Z',
created: '2016-01-06T19:13:49.277Z',
'1.1.1': '2016-01-06T19:13:49.277Z',
'1.1.2': '2016-01-06T20:55:47.180Z' },
keywords:
[ 'Mapbox',
'Maps',
'Mapping',
'Native maps',
'ecosystem:cordova',
'cordova-android',
'cordova-ios' ],
license: 'MIT',
readmeFilename: 'README.md',
version: '1.1.2',
cordova_name: 'Mapbox',
repo: 'https://github.com/Telerik-Verified-Plugins/Mapbox.git',
issue: 'https://github.com/Telerik-Verified-Plugins/Mapbox/issues',
platforms: [ 'android', 'ios' ],
engines: [ { name: 'cordova', version: '>=3.5.0' } ],
gitHead: 'a873483dca1d6bbdf9eb24ba524b554f75a5a41e',
scripts: {},
dist:
{ shasum: '32ecb1eeacf886851224684cc1c7fac801af9611',
tarball: 'https://registry.npmjs.org/cordova-plugin-mapbox/-/cordova-plugin-mapbox-1.1.2.tgz' },
directories: {} }
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
- How to add element over map HOT 13
- 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.