`MapaAreaDeAtuacaoCtrl` Controller do módulo do mapa da área de atuação
Example
<mapa-area-de-atuacao style="width: 55%; height: 500px;"></mapa-area-de-atuacao>
Methods
(inner) buildMap(callback, areaAtuacao)
Criação das funções do módulo do mapa da area de atuação
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | |
areaAtuacao |
Object |
(inner) crossCheck(baseLayer, drawLayer)
Takes Leaflet layers as input; produces geoJSON points of their intersections as output
Parameters:
Name | Type | Description |
---|---|---|
baseLayer |
Object | |
drawLayer |
Object |
Returns:
Gera um geojson com os pontos de interseção
(inner) drawCreated(e)
Criação das funções de desenho do mapa da area de atuação
Parameters:
Name | Type | Description |
---|---|---|
e |
event |
(inner) lineify(inputGeom)
Takes GeoJSON as input, creates a GeoJSON GeometryCollection of linestrings as output
Parameters:
Name | Type | Description |
---|---|---|
inputGeom |
Object |
Returns:
GeometryCollection of linestrings
(inner) lineStringsIntersect(l1, l2)
Retorna a Área que faz interseção entre 2 lines string
Parameters:
Name | Type | Description |
---|---|---|
l1 |
Object | |
l2 |
Object |
Returns:
Intersects