On 23 February 2011 15:51, LarsM <[email protected]> wrote: > I hesitate to bring this up here because this is maybe not a Google Map API > V3 problem, but maybe more an ASP problem.
It is an ASP problem, which means that you probably won't get the solution here, although it may be possible to point you in the right direction. This sets a value wPosLat = 59.32564 This prints that value to the output: <%=wPosLat%> which means that it's influenced by the locale of the server environment. For a mainland Europe locale, it will print the value using a comma: center: new google.maps.LatLng(59,32564,18,07087), I suggest you define a function which outputs a number as a defined string, so that (say) <%=euroDP(wPosLat)%> can output the integer portion, then a dot, then the decimal portion. In fact that's probably easier than faffing about with locale, and allows you to decide exactly when to use a dot (which the API requires) and when to use a comma (which your users may prefer to see). -- 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.
