Questions tagged [maplibre-gl]

Questions about MapLibre GL, a community-governed collection of open source mapping libraries.

web site: https://maplibre.org/

About:

MapLibre is a community-governed collection of open source mapping libraries. Which believes in building and maintaining freely licensed libraries that enable developers worldwide to build vital tools using maps.

Motivated by the 2020 transition to proprietary licensing for Mapbox GL JS, the initial libraries are forks of the Mapbox GL ecosystem—for the web and mobile platforms.

Goal is to continue building on the foundation of Mapbox’s original open-source code under the BSD license without tracking end-users.

81 questions
0
votes
0 answers

How to add custom icons to maplibre unclustered markers using filter

I am adding maker clusters using maplibre gl and when markers are unclustering, I want to add specific image to individual marker based on id present in properties of geojson of that…
0
votes
0 answers

How to draw and update polygons in MapLibre in React Native Application?

Hy fellows, I want to implement draw and update existing polygons on MapLibre Maps in React Native Application.I have gone through the example of the web. but I can't find anything on how to achieve that in React Native Application. Please help me…
0
votes
1 answer

VueJS (TypeScript) component with mapBox

I'm trying to integrate a map from MapBox (or maplibre) within a VueJS component. The thing is, I need to declare my map in the data part, but the div that will contain my map is not initialized yet. So I have to instantiate my Map inside the…
RobinFrcd
  • 4,439
  • 4
  • 25
  • 49
0
votes
0 answers

Offset in tile_row using addProtocol in Maplibre-gl-js

I am developing an application in Apache Cordova that uses vector layers in mbtiles, created with tippecanoe, and I need it to be fully accessible offline. To achieve this, I am using maplibre-gl-js, using addProtocol("custom"), as indicated here I…
0
votes
0 answers

Using another alternative than Google maps Provider in Expo

Hello dear community, I'm actually working on a mobile app using react-native expo, I used to work on react-native but I switched to expo, and as you know mapbox is not compatible in expo since it requires native modules, I searched a lot of…
0
votes
1 answer

Reset Filter to initial filter value in Mapbox GL JS

I have a MapLibre / Mapbox GL JS web application, where I load vector tile data for which I apply a style using a local JSON file. For the different layers I use filters like that: "filter": [ "all", ["==", "size", "large"] ] Now I want…
Robbert
  • 109
  • 5
0
votes
0 answers

mapbox minClusterPoints method set to 1 doesn’t work

I want to cluster points using the MapLibre (open-source alternative to mapbox) GL-JS. As i do not want to render points on the map, I tried to user the method minClusterPoints documentation: and set the value to 1 (default value is 2) I hoped that…
jwmd
  • 1
0
votes
0 answers

Showing features of water-bounds based on area size attribute Mapboxgl

I am using Mapboxgl style to show my map and I need to set minzoom on features on a layer based on their calculated area attribute. For instance a derived and briefed tiny example from a layer below: { "type": "FeatureCollection", "name": "water",…
0
votes
1 answer

Bing Maps as layer on MapLibre GL

I want to render a BingMaps as a raster layer on a MapLibre GL terrain. I know that MapLibre GL is a fork of MapBox GL and that MapBox can do this (or at least I think it can): https://github.com/mapbox/mapbox-gl-native/issues/5485 Is there any way…
John
  • 346
  • 1
  • 11
0
votes
0 answers

Is there any way with maplibre gl to know if a path between two points passes over a coordinate?

everyone, I have the coordinates of the toll booths in Mexico and when they trace a route I want to know if it goes through that coordinate. There are apis that solve this, however the SCT makes this data public and I would only need what I…
0
votes
0 answers

Prioritize city matches against province matches in Nominatim

I installed Nominatim in combination with the Maplibre geocoder, but I am having troubles getting the results in the correct order of relevance or getting the correct one at all. In Italy many provinces have the same name as the capital of the…
m.piras
  • 345
  • 1
  • 2
  • 19
0
votes
1 answer

Tilemaker: include_ids and OSM ID

I'm currently using tilemaker https://github.com/systemed/tilemaker/blob/master/docs/CONFIGURATION.md to generate mbtiles from osm pbf files. I'm setting, in the config file, the parameter include_ids to true to generate in each mbtiles object (node…
0
votes
0 answers

Draw a Custom Tiled map in MapLibre android

I want to use MapLibre to display a Map in an android app, using a custom MapTiler map with raster Tiles from an URL with X Y Zoom format: "http://serverAddres:port/api/maps/style_satellite/%d/%d/%d.png" Does map Libre Support this? and how do I…
Andres
  • 51
  • 7
0
votes
0 answers

Re-render MapLibre map before printing to fit page, also use system print dialog over browser print dialog

Here is what I'm trying to accomplish: I am working on a simple map that renders some GeoJSON data on a map. I am currently using react-map-gl to render a MapLibre map. All the GeoJSON data renders properly, and I have developed a custom legend…
0
votes
0 answers

How to display clusterproperties on unclustered-point layout?

I have MapBox map with clustered-points of cities. On these clusters, I display the number of address by cities with the clusterProperties "sumAddress: ["+", ["get", "nbAdresses"]]". If y want display the number of cities dynamically, it doesn't…
gcbox999
  • 147
  • 8