Comments (9)
This isn't a new 7.x thing, but I noticed today that telemetry methods added in nitaliano/react-native-mapbox-gl#1096 aren't documented.
There are:
MapboxGL.isTelemetryEnabled = () => Promise<boolean>
MapboxGL.setTelemetryEnabled = (enabled: Boolean) => void
Started to open a PR, but I wasn't sure the best place to put them since they're not on a component, but the base object.
Happy to add them in a PR if someone can point me to the best place to put 'em
from maps.
from maps.
<Mapbox.Images images={[]}>
from maps.
I have an offline map downloaded. Does anyone know how I can load it? I get it with the "getPack" but it will not be added to the MapView.
const offlinePack = await MapboxGL.offlineManager.getPack(OFFLINE_ZONE_NAME)
I'm sorry if this should go on stackoverflow but I do not know if the API is specific to this component.
Thanks!
from maps.
I have an offline map downloaded. Does anyone know how I can load it? I get it with the "getPack" but it will not be added to the MapView.
const offlinePack = await MapboxGL.offlineManager.getPack(OFFLINE_ZONE_NAME)
I'm sorry if this should go on stackoverflow but I do not know if the API is specific to this component.
Thanks!
I'm also curious how to load the offline pack in the MapView, I have my pack downloaded 100% but the mapview turns black when I'm in offline mode.
PS: in the deprecated version of RNMapBox it should work automatically when you're offline but doesn't seem to work in this verison.
from maps.
Thanks for clarification @AbdullahADhaim
we will wait for @EricPKerr 's answer
from maps.
@luisfuertes
Finally it worked for me,currently maps is automatically working in offline mode, I was using a corrupted custom styleUrl and that's why the offline map wasn't working. I used MapBox's styleUrl and it's working now.
from maps.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from maps.
It worked for me removing styleUrl too. Close it please
from maps.
Related Issues (20)
- [Bug]: iOS: Can only change pitch or heading via setCamera when centerCoordinate is specified
- [Bug]: Task :app:checkDebugDuplicateClasses FAILED HOT 4
- [Bug]: Crash when changing Annotations source state in iOS
- [Bug]: Map is not usable in a (horizontal) ScrollView on Android HOT 4
- Crash on latest version on iOS (getZoom) HOT 1
- [Bug]: Image marker as SymbolLayer in ShapeSource does not appear on long press event
- [Bug]: iOS PointAnnotation need to "longpress" before you can start dragging it on the map, on Android you can drag immediately after Press/Tap HOT 1
- [Bug]: queryRenderedFeaturesAtPoint is inconsistent when using onLongPress on MapView
- [Bug]: TypeScript style props exports not working properly HOT 3
- Support for iOS 12.4 with Mapbox Maps SDK v11 HOT 2
- [Bug]: Custom Styles on iOS HOT 1
- [Bug]: LocationPuck topImage inconsistent with iOS HOT 1
- [Bug]: marker views not propagating press events from their children HOT 1
- [Bug]: App is crashing with large data of features. Mainly with points HOT 1
- [Bug]: App is crashing with large data of features. Mainly with points
- Crash on android when loading ImageSource from image uri HOT 1
- [Bug]: iOS topImage inconsistent rendering
- Updating mapbox-maps-ios to 10.17.0 - May 1st iOS Privacy Manifest issue HOT 20
- [Bug]: Setting 'defaultSettings' on '<Mapbox.Camera />' showing the wrong location on very first render of the app HOT 1
- [Bug]: Sibling MarkerViews not observing zIndex style property
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 maps.