generateEntrances

fun generateEntrances(collection: FeatureCollection, tileX: Int, tileY: Int, tileZoom: Int)

generateIntersections goes through our hash map and adds an intersection feature to the collection wherever it finds out.

Parameters

collection

is where the new intersection features are added

tileX

the tile x coordinate so that the tile relative location of the intersection can be turned into a latitude/longitude

tileY

the tile y coordinate so that the tile relative location of the intersection can * be turned into a latitude/longitude