Arrows in Maplibre
Hey I am using maplibre for custom map, i am using geodjango for backend, data coming from database is { id: "arrow_tile_layer", type: "symbol", source: "arrow", 'source-layer': "line", minzoom: 16, maxzoom: 20, filter: ["==", ["get", "way_type"], "primary"], paint: {'text-color': '#000000', 'text-opacity': 0.8}, layout: {'text-font': ['Noto Sans Regular'], 'text-size': 12, 'text-field': '- > ', 'symbol-placement': 'line'}, }
there isn't any error in the frontend however, in the map arrows is not visible
I have tried to show the arrows in highway, but it is not visible
There was an error with data coming, data should be come like this { id: "arrow_tile_layer", type: "symbol", source: "arrow", 'source-layer': "ways", minzoom: 13, maxzoom: 20, filter: ["==", ["get", "way_type"], "primary"], paint: {}, layout: {'icon-image': 'arrow_icon', 'visibility': 'visible', 'symbol-spacing': 80, 'symbol-placement': 'line'}, },