I have created a stackoverflow snippet inside an answer, but get an error if I am using map.queryRenderedFeatures(). Outside the snippet in the index.html all works fine. Could it be a CORS problem ? I got no error message except an undefined return....
I've got an error I'm trying to catch with MapboxGL that doesn't handle when a version of IE switches the webGL render modes from hardware to software. I've been pouring over documentation and console logging pretty much everything I...
So, I know that we have Marker.togglePopup() in Mapbox GL Api. But Can we close all popups programmatically ?...
Polymer 3 uses import to load external Javascript. For example  import {GoogleCharts} from 'google-charts';   However, it seems for this to work, the external library should use exports.  I am trying to use mapbox-gl.js library. This library,...
I'm working on a React/MapboxGL app and I'm having some issue with my marker leaving the bounds of designated map area whenever i move the map around. I feel there may be some other larger underlying React rendering principals that I don'...
I have a marker in the map. I want to change its state when it is clicked and change it back when other place on the map is clicked.  The problem is that map.on("click", console.log) is also fired upon clicking the marker.  I want to see only...
I am working on trying to create a basic, grid-based, but performant weather-arrow visualization system.  EDIT 2: Up-to-date version here: ( Mapbox Tracker ) of the system using the workflow which is described below   Usage Instructions: - Click on W...
I'm using in a mapbox gl layer in the layout-block the field text-offset.    layout: { // Working   'text-field': '{point_count_abbreviated}',   'text-size': ['step', ['get', 'point_count'], 18, 10,...
I am using a mapbox example in order to create multiple polygons on a map, and I have pop-up event for each. My problem is that I need to set each polygon's fill color differently based on it's geojson properties.  This is my example. I am us...
Is it possible to recreate the click to zoom on clustering like Craigslist Mapview does with MapBox? When you click, it zooms to the area those location dots are contained in.  Here's my clustering code:  map.on('load', function() { map.a...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.