-
Notifications
You must be signed in to change notification settings - Fork 1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
scenarios need to be tested in automated way to avoid future issues :)
Hi, I have just few questions.
I can get rid of it by adding something like this:
but I am not sure if it is necessary. Then I need to also put
Thanks for answer |
@srezacova hi,
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the discriminator should resolve problem in test
in legend, because SingleMapLayer is expecting color as string. Thats probably the reason why we used MapLayer model there? |
Hi, I realised just now one new issue - we should not return mapLayers of layerType='regions' with no geoData. Using the old filter & adding condition for layerType 'points' here https://github.com/openkfw/Oscar/pull/77/files#diff-4401c75e5a0122ab94518d56931c9b5eb06c7a1af2764942c5c4b7d050dd9750L18 could work with this requirement. |
Description
Refactor getMapLayers function to return map layers with or without geoData.
How has this been tested?
Screenshots (if appropriate):
Types of changes
Checklist: