Giter VIP home page Giter VIP logo

Comments (14)

EddyVerbruggen avatar EddyVerbruggen commented on August 16, 2024

Good call, I'll do that!

from mapbox.

EddyVerbruggen avatar EddyVerbruggen commented on August 16, 2024

https://www.npmjs.com/package/cordova-plugin-mapbox 👍

from mapbox.

klokan avatar klokan commented on August 16, 2024

Thank you @EddyVerbruggen

from mapbox.

klokan avatar klokan commented on August 16, 2024

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.

EddyVerbruggen avatar EddyVerbruggen commented on August 16, 2024

Hmm, which cordova-android version are you using?

from mapbox.

klokan avatar klokan commented on August 16, 2024

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.

EddyVerbruggen avatar EddyVerbruggen commented on August 16, 2024

Ah, phonegap build.. let me look at that shortly!

from mapbox.

klokan avatar klokan commented on August 16, 2024

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.

EddyVerbruggen avatar EddyVerbruggen commented on August 16, 2024

Looking really cool!

Would you want to load that json file locally (www folder) or remotely (http)?

from mapbox.

klokan avatar klokan commented on August 16, 2024

Technically both should run according the MapBox Native documentation. Local (www folder) is fine for us...

from mapbox.

EddyVerbruggen avatar EddyVerbruggen commented on August 16, 2024

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.

klokan avatar klokan commented on August 16, 2024

I have asked there...

from mapbox.

EddyVerbruggen avatar EddyVerbruggen commented on August 16, 2024

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.

cusspvz avatar cusspvz commented on August 16, 2024

@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)

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.