Top "Mapbox-gl" questions

A client-side map rendered with implementations in native platforms utilizing OpenGL.

Message from debugger: Terminated due to memory issue

My app working with Geojson file. I use MapBox SDK to add MGLPolyline to map. But the problem is my …

ios swift mapbox mapbox-gl mapbox-marker
Attempting to load the view of a view controller while it is deallocating ... UIAlertController

I am building with the release version of Xcode 7.0. No storyboards, just nib files. I have a single UINavigationController created …

ios swift xcode xcode7 mapbox-gl
mapbox gl change icon color

Is there a way to change a mapbox-gl-js icon-image color? This code taken from https://www.mapbox.com/mapbox-gl-js/example/…

mapbox mapbox-gl mapbox-gl-js
Using Mapbox GL Offline

Is there a way to use Mapbox GL (asking about both JS and native) in an offline setting? With MBTiles, …

mapbox mapbox-gl mapbox-gl-js
How to add a simple Marker in Mapbox GL?

Since the Mapbox GL documentation doesn't talk about anything regarding adding simple markers to LngLat coordinates, and really only has …

mapbox mapbox-gl mapbox-gl-js
How to find all layers in Mapboxgl ? Ultimately I want to show custom layer only on water and not on land

I created a custom circle layer. I want to show this layer only on water and not on land. I …

mapbox-gl-js mapbox-gl
Mapbox GL setData to update layer with multiple markers

I have a Mapbox GL map with a single layer and multiple markers on that layer, I am trying to …

mapbox mapbox-gl
How to close all popups programmatically in mapbox gl?

So, I know that we have Marker.togglePopup() in Mapbox GL Api. But Can we close all popups programmatically ?

javascript mapbox-gl mapbox-gl-js
Mapbox GL JS and GeoJSON as an external file

I have code to set markers with Mapbox map $(function() { mapboxgl.accessToken = 'pk.###'; var map = new mapboxgl.Map({ container: …

mapbox mapbox-gl-js mapbox-gl mapbox-marker
How to fix canvas size in Mapbox GL?

I'm using Mapbox GL to show a map and crop a fixed size image from the center of it. It …

mapbox-gl mapbox-gl-js