Re: Complicated Date to Lat Reverse function
- From: Paul Cooper <paul.cooper@xxxxxxxxxxxxxxxxx>
- Date: Wed, 11 Jan 2006 09:17:05 +0000
On 10 Jan 2006 09:06:34 -0800, "jshanman" <jcshanks@xxxxxxxxxxxxx>
wrote:
>I am writing a timeline that uses Google Maps. I have a function that
>converts a date time to latitude coords. This function is used to draw
>the markers on the timeline. I need a reverse function to convert a
>latitude coord back to an accurate date time. Then I could detect the
>day/hour in the viewport when the timeline is zoomed in or out, or if
>it is moved. I cannot use the javascript date functions because this
>timeline will eventually be used for BC and AD years.
No comment on your code, but I think you mean Longitude, not Latitude.
This sort of calculation gets to be really fun when you are computing
light/dark areas!
Project for the Student:
Calculate the position of an instrument that logs light or dark with a
timestamp in UTC, and no other information
This is a real project that we did some years ago for an instrument
package light enough to be carried by an albatross!
Paul
.
- Follow-Ups:
- Re: Complicated Date to Lat Reverse function
- From: jshanman
- Re: Complicated Date to Lat Reverse function
- References:
- Complicated Date to Lat Reverse function
- From: jshanman
- Complicated Date to Lat Reverse function
- Prev by Date: Re: A script to check the URL of the current page...
- Next by Date: Re: Problem with IE when filling a select element per JavaScript and DOM
- Previous by thread: Re: Complicated Date to Lat Reverse function
- Next by thread: Re: Complicated Date to Lat Reverse function
- Index(es):
Relevant Pages
|
Loading