Agree. It is bad news to rely on position values to uniquely identify your records. Especially when they are manipulated and converted. Use an id instead.
.nikolaj On Feb 18, 7:14 am, Chris Broadfoot <[email protected]> wrote: > You shouldn't do this. Attach an identifier to your Marker so you can safely > relate it back to your original data source. > > On Fri, Feb 18, 2011 at 4:51 PM, Limpinwood <[email protected]>wrote: > > > > > > > > > > > Thanks Chris, > > > hopefully that will sort it, it my case it does matter cause we have > > multiple records hanging off the marker, I need to get the lat,lng > > back from the marker in the same format as provided so I can search > > the parent XML for the records at the position. > > > Thanks again > > > On Feb 18, 4:30 pm, Chris Broadfoot <[email protected]> wrote: > > > This is a floating point rounding error introduced by our longitude > > wrapping > > > function. > > > > If you're absolutely sure that your latitude is between -90 and 90, and > > > longitude between -180 and 180, you could pass true to the noWrap > > parameter > > > of the LatLng constructor and the wrapping function will be bypassed. > >http://code.google.com/apis/maps/documentation/javascript/reference.h... > > > > Be wary, though - if your coordinates are outside of these bounds, some > > API > > > features will break. > > > > Why does this matter? As Rossko says, realistically this is not an issue > > in > > > terms of error on the earth's surface. > > > > Chris > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Maps JavaScript API v3" 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-js-api-v3?hl=en. > > --http://twitter.com/broady -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
