(obj, pbf)
| 74 | return obj; |
| 75 | } |
| 76 | export function writeTileLayer(obj, pbf) { |
| 77 | if (obj.version != null && obj.version !== 1) pbf.writeVarintField(15, obj.version); |
| 78 | if (obj.name) pbf.writeStringField(1, obj.name); |
| 79 | if (obj.features) for (const item of obj.features) pbf.writeMessage(2, writeTileFeature, item); |
| 80 | if (obj.keys) for (const item of obj.keys) pbf.writeStringField(3, item); |
| 81 | if (obj.values) for (const item of obj.values) pbf.writeMessage(4, writeTileValue, item); |
| 82 | if (obj.extent != null && obj.extent !== 4096) pbf.writeVarintField(5, obj.extent); |
| 83 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…