Modify

Opened 6 years ago

Closed 6 years ago

#4896 closed defect (fixed)

Macro does not work with southern hemisphere coordinates.

Reported by: anonymous Owned by: martin_s
Priority: normal Component: GoogleMapMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

When inputting a southern hemisphere coordinate, macro will output "Invalid center coordinate given!"

Attachments (0)

Change History (5)

comment:1 follow-up: Changed 6 years ago by anonymous

Also, the coordinates are not bounded past 90 for N/S, and 180 for E/W. Google maps will just display nothing. Can't tell if the "marker" argument is working properly in the map yet...but seems to be putting the correct Long/Lat in the source code.

Sorry for the bother, but am trying to map a location in Antarctica, and it works fine on the google maps webpage.

comment:2 Changed 6 years ago by martin_s

  • Resolution set to fixed
  • Status changed from new to closed

Thank you very much for your bug report. This got now fixed in [5498]. The sign was not recognised which caused the error.

comment:3 in reply to: ↑ 1 Changed 6 years ago by martin_s

Replying to anonymous:

Also, the coordinates are not bounded past 90 for N/S, and 180 for E/W. Google maps will just display nothing.

I will add an error message for this case. In my opinion if the user provides invalid input a message should be displayed.

comment:4 Changed 6 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

Hi again. Thanks for fixing the last bug. But, last time, I didn't check if negative number could be used for latitude also. I had stupidly assumed that google maps did some fancy math and could wrap things around. Can you also check that the sign is recognized for that part of the argument too?

Thanks!

comment:5 Changed 6 years ago by anonymous

  • Resolution set to fixed
  • Status changed from reopened to closed

Nevermind. Typos. Thanks!

Add Comment

Modify Ticket

Action
as closed The owner will remain martin_s.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.