Closed Mike-Heneghan closed 5 years ago
As the API doesn't have any knowledge of which data set the features are returned from it's hard to know which key to use to access the feature name.
Without adding much more complexity created an array of the possible name keys and iterate through to check whether the result is undefined or matched. If matched the feature name is bound to the feature as a popup.
Merged into master
On the service detail page when a user sees the service areas rendered as features it may not be clear what they are. As an improvement, the features could have popups in a similar fashion to the location markers.