I have a form where I can enter the coordinates of a location in the DMS format which gets stored in a table. I find the coordinates by dragging the marker to the place I need, using http://itouchmap.com/latlong.html
The degree, minutes and seconds are separated by white spaces rather than the usual symbols.
Example:
- Lat : 9 59 35.9274
- Lng : 76 17 49.0524
These values are being stored in fields which are of varchar and are stored as it is.
Could someone tell me what the problem is?
But when I retrieve these coordinates to plot it on Google maps, the marker is in some place else.
P.S. : The marker placing works perfect when the coordinates are stored in the DDD format.
The code I use is copy pasted from https://developers.google.com/maps/articles/phpsqlajax_v3?csw=1