osscameroon / onacut

Onacut is web application that notifies users of electricity, water or internet outage in their location
14 stars 12 forks source link

Add the show on map button to see the position on the map #97

Closed Asam237 closed 2 years ago

Asam237 commented 2 years ago

Like this

gaa

godsakani commented 2 years ago

Hello @Asam237 please can described this issue a little bit

Asam237 commented 2 years ago

@godsakani , In the list of alert zones, add a button that will redirect us to the map view !

https://user-images.githubusercontent.com/34966088/176230436-e112c70a-e760-4bdb-b166-fdf83e594283.mp4

lv

godsakani commented 2 years ago

@godsakani , In the list of alert zones, add a button that will redirect us to the map view !

simplescreenrecorder-2022-06-28_17.17.43.mp4 lv

Ok thank you for this

godsakani commented 2 years ago

Like this

gaa

Hello @Asam237, @Sanix-Darker I wish to ask if I should create a new button component here?

Sanix-Darker commented 2 years ago

You can do that or add a normal customized button like it has been done here : https://github.com/osscameroon/onacut/blob/main/frontend/src/components/search/Search.component.tsx#L19 @godsakani , it's up to you....

godsakani commented 2 years ago

You can do that or add a normal customized button like it has been done here : https://github.com/osscameroon/onacut/blob/main/frontend/src/components/search/Search.component.tsx#L19 @godsakani , it's up to you....

Ok Thank you

Asam237 commented 2 years ago

When you do a console log on the details page, you have this

details_god

So, by implementing the button, you redirect to the map (StreetMap) with the coordinates(lattitude, longitude).

godsakani commented 2 years ago

When you do a console log on the details page, you have this

details_god

So, by implementing the button, you redirect to the map (StreetMap) with the coordinates(lattitude, longitude). Hello @Asam237 am i to console log this in the details or citydetails page