@rural-environmental-registry/map_component 1.1.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/handlers/measureToolsHandler.d.ts +1 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +16337 -14954
- package/dist/types/index.d.ts +118 -15
- package/dist/utils/geometryFileParseResult.d.ts +8 -0
- package/dist/utils/layersConfigNormalizer.d.ts +16 -0
- package/dist/utils/menuHistory.d.ts +3 -3
- package/dist/utils/normalizeGeoJsonToFeatures.d.ts +2 -0
- package/dist/utils/parseGeoJsonFile.d.ts +2 -0
- package/dist/utils/parseKmlFile.d.ts +2 -0
- package/dist/utils/parseShapefileZip.d.ts +2 -8
- package/dist/utils/{validateShapefileGeometry.d.ts → validateImportedPolygonGeometry.d.ts} +2 -2
- package/package.json +3 -2
- package/src/components/MapDPG.vue +90 -2
- package/src/components/coordinate/CoordinatePanel.vue +31 -8
- package/src/components/fa-icon/FontAwesomeIcon.vue +35 -5
- package/src/components/map/LeafletMap.vue +3 -1
- package/src/components/menu/ChildMenu.vue +307 -27
- package/src/components/menu/LayerMenu.vue +232 -37
- package/src/components/menu/ParentMenu.vue +261 -27
- package/src/components/menu/SectionMenu.vue +512 -0
- package/src/constants/coordinatePanel.ts +6 -5
- package/src/handlers/mapToolsHandler.ts +3 -1
- package/src/handlers/measureToolsHandler.ts +36 -27
- package/src/handlers/toolsConstants.ts +1 -0
- package/src/index.ts +47 -0
- package/src/types/index.ts +149 -14
- package/src/utils/geometryFileParseResult.ts +5 -0
- package/src/utils/layersConfigNormalizer.ts +273 -0
- package/src/utils/menuHistory.ts +35 -19
- package/src/utils/normalizeGeoJsonToFeatures.ts +52 -0
- package/src/utils/parseGeoJsonFile.ts +23 -0
- package/src/utils/parseKmlFile.ts +31 -0
- package/src/utils/parseShapefileZip.ts +4 -31
- package/src/utils/validateImportedPolygonGeometry.ts +62 -0
- package/src/utils/validateShapefileGeometry.ts +0 -54
package/README.md
CHANGED
|
@@ -176,6 +176,7 @@ Configuração adicional em `options.tools`:
|
|
|
176
176
|
| `measureLine` | Botão de medição de distância entre dois pontos |
|
|
177
177
|
| `measurePolygon` | Botão de medição de área por polígono desenhado |
|
|
178
178
|
| `measureArea` | Modo legado de medição de área |
|
|
179
|
+
| `showInteractionPanel` | Exibe o painel flutuante (ajuda + Cancelar/Finalizar). Default `true`. Com `false`, a instrução fica só no `title` (tooltip) do botão |
|
|
179
180
|
| `texts` | Rótulos do painel de medição (distância, área, ajuda, cancelar, finalizar) |
|
|
180
181
|
|
|
181
182
|
### Injeção menu lateral
|