HIER Verwarmt

The case
Category
Non-profit
Launch date
Challenges
The big challenge with HIER Verwarmt is the zipcode checker, which makes it possible to see what kind of plans your municipality has to get you neighbourhood of natural gas. When a visitor enters his zipcode we have a look of the available date within the municipality borders.
It is possible that one zipcodes covers more than one neighbourhood. The challenge is to get several datasources (overlapping neighbourhood borders, examples of projects, natural gas free zones and heatplans) and create a user friendly page.

The functionalities on the page are:
• Getting an announcement that there are plans to make your neighbourhood free of natural gas
• The possibility to subscribe to your neighbourhood with your e-mail. Then you will receive an update in your mailbox anytime a municipal employee makes a change in the local plans.
• A visitor is able to see a streetview image of his neighbourhood via the Google Maps API
• There is an interactive online map of your neighbourhood that show natural gas free zones, existing plans and plans that are in preparation and markers with examples of other projects that are going on.
• There’s information about alternative ways to heat your home. Also the visitor can see statistics about the use of natural gas within the municipality.

To build this page we had to take into account several technical points of attention:
• Based upon the entered zipcode in the zipcode checker, we use the geocoder module to get the lat-long coordinates (https://www.drupal.org/project/geocoder).
This is done with a custom developed provider who is connected with the API of nationaalregister.nl
• On a municipal level we look at the available heatplans. Geo information about this heatplans is stored via the geofieldmodule. With this module it is only possible to search within multi polygons. For this we developed our own implementation:
https://www.drupal.org/project/geofield
• All map layers are custom developed in collaboration with wepmapper.net.
• All map layers are shown with the leafletmodule. https://www.drupal.org/project/leaflet
Community contributions
https://www.drupal.org/project/bem
- Prevent the need of overriding templates as much as possible.
- Provide BEM classes that are (hard)coded or refer to configuration (machine names), but never refer to content.
- Combine Drupal specific concepts into sensible BEM components (like the fields of a node when rendered in a specific view mode. For example .node-article-teaser and .node-article-teaser__image.

https://www.drupal.org/node/2820738
Problem: Need a way to set the bounds option for layers.
Solution: layer.options.bounds option gets converted to a L.latLngBounds object in create_layer.

https://www.drupal.org/node/2817257
Feature for adding pop-up options on online map.

https://www.drupal.org/node/2810805
Patch for base layers controls.

https://www.drupal.org/node/2743379
Check permission before showing Clone operation.
Name client
Stichting HIER Klimaatbureau
Screenshot
Contact information
Name organisation
SWIS B.V.
Name contact person
Menno de Kort
E-mail address contact person
menno@swis.nl
Phone number contact person
0651292055
E-mail address invoice
helen@swis.nl
I agree to the terms of submission
Aan