Add observer to update layer with locationsProperty

The Leaflet vector doesn't get updated when the latlng array is replaced and locationsProperty is used. This fixes that.