Svg Maps
Categories
Component ID
2875375
Component name
Svg Maps
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
This module provide a way to render maps using inline SVG and associate values to its areas. Rendering will associate colors depending on the value associated.
Current available maps (more will be probably added in next releases):
- France departments
- Usa states
Values are associated to areas by adding svg_map field in content type.
This allow users to select an area from autocomplete field and fill value.
Two formatters can be used to render svg map field:
- Detail : only show selected area
- Global: show complete map with selected area from field
This module also provide a way to define styles for the maps.
You can change the background colors for normal and selected areas, define legend build type using rainbow gradient, lightness or range colors).
(go to Administration > Configuration > Svg Maps ).
Some ideas to implement in futur releases:
- Views plugin to build maps and only take care of values filtered
- Provide a way to create values for map areas at once
- Add world map
