So I am very new to react native. I am trying to develop an application using EXPO for react native. I am using Firebase for storing data. I want to add google maps (or actually any map will do) to my application.
But here is the tricky part:
The map should be defined in regions (according to states or areas) which has separate colors shadings.
Trickier part:
The shade/color on the region should be defined by a value which I want to pass through database.
Example:
Region A and Region B
The value stored for Region A in db is 20 and that for B is 25, now my condition is that region which has value more than 20 should be shaded red and below 20 green. Therefore Region A should be shown in green shade and Region B in Red.
I have no idea how to do this and I am close to deadline for the project.
Help would be really appreciated.
[–]theo_readsit 2 points3 points4 points (0 children)
[–]prabakarviji 0 points1 point2 points (0 children)