Coder Social home page Coder Social logo

eapostol / mapbox_v2 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 141 KB

An Updated version of the React Native Maps example I built in 2015, using the Mapbox Location Data Platform.

JavaScript 17.31% Python 18.93% Java 15.43% Objective-C 48.32%
react-native mapbox-gl mapbox-ios-sdk mapbox-android-sdk mapbox-api javascript es6

mapbox_v2's Introduction

React Native with the MapBox Maps SDK for iOS and Android

This repository is a rebuild of part of the work I did evaluating React Native for use in the 2nd generation Intelex Eversync App. In this case using a third-party library to use mapping functionality (at the time, Google Maps implementation was in its early stages).

What is Mapbox?

Mapbox is the location data platform for mobile and web applications. It provides building blocks to add location features like maps, search, and navigation into any experience needed. It has a straightforward set of APIs, SDKs and open source libraries for interactivity and control. It is required to set up an account with Mapbox .

Notes:

I wasn't able to install react-native-mapbox using npm due to permission issues. I instead installed it using Yarn. It was based on this scenario:

  • homebrew controls node and npm
  • node version manager (nvm) controls active version of node
  • used node 9.5.0 to create template react-native project in webstorm
  • using npm install @mapbox/react-native-mapbox-gl --save resulted in an installation error ; react-native was already created from the template project in webstorm, and I am assuming that the npm install for mapbox was attempting to install a react dependency.

Issues:

CoreData: annotation: Failed to load optimized model at path '/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/Frameworks/InstrumentsPackaging.framework/Versions/A/Resources/XRPackageModel.momd/XRPackageModel 9.0.omo'

https://stackoverflow.com/questions/46463536/coredata-annotation-failed-to-load-optimized-model-react-native

on first build

The following commands produced analyzer issues: Analyze Base/RCTModuleMethod.mm Analyze Modules/RCTUIManager.m (2 commands with analyzer issues)

facebook/react-native#12609

on subsequent refreshes -

Loading dependency graph...watchman warning: Recrawled this watch 1 times, most recently because: /Users/edward/Documents/projects-2018/ReactNative_projects/mapbox_v2: kFSEventStreamEventFlagUserDropped To resolve, please review the information on

https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl

To clear this warning, run: watchman watch-del /Users/edward/Documents/projects-2018/ReactNative_projects/mapbox_v2 ; watchman watch-project /Users/edward/Documents/projects-2018/ReactNative_projects/mapbox_v2

mapbox_v2's People

Contributors

eapostol avatar

Watchers

 avatar

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.