Skip to content

Instantly share code, notes, and snippets.

View JordanProtin's full-sized avatar

Jordan Protin JordanProtin

View GitHub Profile
@JordanProtin
JordanProtin / BugReportExample.js
Last active June 8, 2020 21:30
Single example component in order to reproduce this issue : https://github.com/react-native-mapbox-gl/maps/issues/887
import React from 'react';
import MapboxGL from '@react-native-mapbox-gl/maps';
import {Platform, SafeAreaView, StyleSheet, View} from 'react-native';
import {point, lineString as makeLineString} from '@turf/helpers';
import Svg, {Path} from 'react-native-svg';
const MAPBOX_GL_ACCESS_TOKEN = 'CHANGE_ME';
const ROUTE_POINTS = [
{