Closed Mike-Heneghan closed 4 years ago
Edited the JS to only run the renderFeatures
or addLocations
when there are features or locations respectively.
Should hopefully improve performance.
Now there is support for single locations without service areas.
Before sending in the PR move the JS into scripts.js
Merged into master
For services which have physical locations, it would be useful to drop location pins.
As Maps are currently only rendered for service with service areas it could be best to start by adding location pins and then refactor to handle services without service areas.