COMP3030J-SE-P2-G1 / proj

0 stars 0 forks source link

dashboard: google map api #30

Open cnapop opened 2 months ago

cnapop commented 2 months ago

Here are two possible bug with Google Map which were tested on the server: http://csi420-02-vm8.ucd.ie/

  1. In our remote server, while we arrive in dashboard and directly enter the "Profiles"-"create profile dialog", the google map cannot be loaded(just like what the picture below shows) 1713488618037 However, in the same network environment, if we refresh the page and firstly enter "Tools"-"Map", then google map can be loaded in both "Profiles"-"create profile dialog" and "Tools"-"Map". Obviously, it is unreasonable for map to require specific access order requirements.

  2. After the map is loaded, the map in "Profiles"-"create profile dialog" still displays an obvious problem. In the image below you can see there are two area for input address and if you type UCD and click the search button, you will find that the input at the top is invalid. Moreover, the latitude and longitude is not displayed in the corresponding input after the search address, but directly displayed in the upper left corner of the map. a65e3f63b3b1a3466e71ed8853bff07

ED0925 commented 2 months ago

2, 好像我这里看没事啊, 经纬度那个是点完之后就立刻居中了,所以看着像是不在点的位置

On Fri, Apr 19, 2024 at 9:36 AM Jiawen Chen @.***> wrote:

Here are two possible bug with Google Map

1.

In our remote server, while we arrive in dashboard and directly enter the "Profiles"-"create profile dialog", the google map cannot be loaded(just like what the picture below shows) 1713488618037.jpg (view on web) https://github.com/COMP3030J-SE-P2-G1/proj/assets/93379413/6793bbb3-12e3-461c-9c8e-fd17610f7487 However, in the same network environment, if we refresh the page and firstly enter "Tools"-"Map", then google map can be loaded in both "Profiles"-"create profile dialog" and "Tools"-"Map". Obviously, it is unreasonable for map to require specific access order requirements. 2.

After the map is loaded, the map in "Profiles"-"create profile dialog" still displays an obvious problem. In the image below you can see there are two area for input address and if you type UCD and click the search button, you will find that the input at the top is invalid. Moreover, the latitude and longitude is not displayed in the corresponding input after the search address, but directly displayed in the upper left corner of the map. a65e3f63b3b1a3466e71ed8853bff07.png (view on web) https://github.com/COMP3030J-SE-P2-G1/proj/assets/93379413/f49e248f-5911-4e82-abb1-1e4d9c579442

— Reply to this email directly, view it on GitHub https://github.com/COMP3030J-SE-P2-G1/proj/issues/30, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYIV725MDCNDIUFZY37WOB3Y6BYJHAVCNFSM6AAAAABGOJXPC6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TCOBZGY2DOMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

cnapop commented 2 months ago

你是在服务器上测试的嘛,方便的话能发个截屏不 @ED0925