Skip to content

Instantly share code, notes, and snippets.

View MichaelDanielTom's full-sized avatar
🎉

Michael Tom MichaelDanielTom

🎉
View GitHub Profile
@MichaelDanielTom
MichaelDanielTom / gist:855796f23ce81c588d58faf41123146d
Created November 28, 2023 22:13
rnmapbox ModelLayer iOS + js
diff --git a/node_modules/@rnmapbox/maps/ios/RNMBX/RNMBXMapView.swift b/node_modules/@rnmapbox/maps/ios/RNMBX/RNMBXMapView.swift
index 02473cf..1bc2483 100644
--- a/node_modules/@rnmapbox/maps/ios/RNMBX/RNMBXMapView.swift
+++ b/node_modules/@rnmapbox/maps/ios/RNMBX/RNMBXMapView.swift
@@ -1,4 +1,4 @@
-@_spi(Restricted) import MapboxMaps
+@_spi(Experimental) @_spi(Restricted) import MapboxMaps
import Turf
import MapKit
/**
* HighlightableImage.js
*
* If we simply change the source prop of an Image in the render method, the
* image blinks, and there is no image for a fraction of a second. This is
* solved by mounting 2 images and changing their opacity.
*
*/
import React from 'react'
import {