On Jan 28, 9:38 am, Ray <[email protected]> wrote: > Hello, > > I'm displaying markers based on a mysql table in Google Map but I need > the > longitude/latitude values bigger than double. Therefore my lng/lat > fields in > the mysql table are datatype varchar(20). I first tried used double > but I always > lost one digit. > > However, it seems like the API is converting the value back to a > double > which means the marker isn't placed exactly where I want it.
Do you *really* need that level of precision? Six decimal places is enough to get a marker with an accuracy of around a metre. The last digit you're losing represents a hundredth of a nanometre. If your markers are misplaced, you probably need to look a little nearer the decimal point than the fourteenth decimal place. Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
