[WIP] Volto Arcgis Block

ArcGIS Map integration for Volto blocks
*This product is in development, at this time it is not recommended to use it.

Styling
To create custom styles, we need to add it in the block configuration and import the Less file into our project.
import { ARCGIS_BLOCK } from '@eeacms/volto-arcgis-block/constants';
const customBlocks = (config) => ({
...config.blocks.blocksConfig,
[ARCGIS_BLOCK]: {
...config.blocks.blocksConfig[ARCGIS_BLOCK],
styles: {
...config.blocks.blocksConfig[ARCGIS_BLOCK]?.styles,
land: {
title: 'Land style',
customClass: 'land',
},
},
},
- Import the CSS in your project:
@import url('maps.less');
.land {
.map {
width: 100%;
height: 600px;
padding: 0;
margin: 0;
}
.esri-view .esri-view-surface--inset-outline:focus::after {
outline: none !important;
}
.esri-component.esri-zoom.esri-widget {
margin-bottom: 0;
box-shadow: none;
}
}
Note: If the style selector does not show your new style, try to change the order of the declaration of the addons in package.json, giving preference to volto-arcgis-block
"addons": [
"@eeacms/volto-arcgis-block",
"@eeacms/volto-clms-theme"
],

0.1.3 - 14 September 2021
:hammer_and_wrench: Others
- Menu tabs toggle [Amanda Rodriguez -
8573b3e
]
- Menu tabs toggle [Amanda Rodriguez -
4bcf366
]
- Drag and drop [Amanda Rodriguez -
1a70919
]
- Widget order [Amanda Rodriguez -
bed82bf
]