On 13 July 2011 13:35, Nico Oudshoorn <[email protected]> wrote: > $naarposlat = $geo->result->geometry->location->lat; > > the problem is this geo result. In ths example the echo is 51.4945758. But > even if you only multiply it by 1 the result is 51. In the meantime I let > the lat and lng come from the client side. But I am still wandering why on > the server side this problem comes up. So the georesult has somthing that > has the size of a point, looks like a point but acts like .......
I still reckon it's an internationalisation problem -- that's exactly the behaviour which will be seen if your decimal point is an unexpected character. And it's a PHP issue, not a Maps problem per se. -- 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.
