{ "version": 8, "metadata": { "test": { "collisionDebug": true, "width": 240, "height": 100 } }, "sources": { "geojson": { "type": "geojson", "data": { "type": "FeatureCollection", "features": [{ "type": "Feature", "properties": { }, "geometry": { "type": "Point", "coordinates": [-60, 0] } }, { "type": "Feature", "properties": { }, "geometry": { "type": "Point", "coordinates": [-40, 0] } }, { "type": "Feature", "properties": { }, "geometry": { "type": "Point", "coordinates": [-20, 0] } } ] } } }, "sprite": "local://sprites/2x", "layers": [{ "id": "bg", "type": "background", "paint": { "background-color": "#ccc" } }, { "id": "symbolA", "type": "symbol", "source": "geojson", "layout": { "icon-image": "icon", "icon-padding": [10] } }, { "id": "symbolB", "type": "symbol", "source": "geojson", "layout": { "icon-image": "icon", "icon-padding": [2, 2, -20], "icon-offset": [120, 0] } } ] }