-
Notifications
You must be signed in to change notification settings - Fork 0
Map
lallysmbc edited this page Mar 1, 2021
·
4 revisions
Maps are not covered within the GOVUK Design System. Our maps use leaflet.js which mostly has its own classes which we have specific styling for.
In order to use the map and map-popup styling you need to add the leaflet-map
class to the root div.
<div id='root' class='leaflet-map'></div>
<script type='text/javascript' src='@Model.MainJSFile'></script>
<script type='text/javascript' src='@Model.VendorJSFIle'></script>
<div class="smbc-map__item">
<div class="smbc-map__item__header__block">
<i class="fa fa-list smbc-map__item__header__block__icon" aria-hidden="true"></i>
<span class="smbc-map__item__header__block__title">Item title</span>
</div>
<div class="smbc-map__item__body">
<p>Name: Test</p>
<p>Type: Test</p>
<a href="#" target="_blank">Further Information</a>
</div>
</div>
- Accessibility
-
Components
- Accordion
- Add another
- Back link
- Breadcrumbs
- Button
- Calendar
- Character count
- Checkboxes
- Date input
- Date picker
- Details
- Error message
- Error summary
- Fieldset
- File upload
- Footer
- Header
- Hint text
- Inset text
- Map
- Multiple File upload
- Notification banner
- Panel
- Phase banner
- Radio button
- Select
- Skip link
- Text area
- Text input
- Time selection
- Warning text
- Layouts
- Styles
- Technical Decisions
- Patterns