[mapguide-internals] wrong scale values
jason at jasonbirch.com
Fri Feb 5 15:34:37 EST 2010
Do you think that this is a problem only for locales that use a comma as the
decimal separator, or is it a general bug?
Could you please submit a Trac ticket for this problem and solution, and add
any notes there so it doesn't get lost?
On 5 February 2010 11:37, rflorez <rodolfoflorez at hotmail.com> wrote:
> When using static layers (tiles maps), the ajax viewer (in mapframe.aspx
> file) generates a list of scales with a string using "," instead of "." as
> and do not use the decimal part.
> This is a problem when have static and dynamics layers together because the
> dynamic layer is generated with different scale
> this is the code:
> for(int i = 0; i < scales.Count; i++)
> scaleCreationCode = scaleCreationCode + "scales[" + i + "]=" + scales[i]
> + "; ";
> //I add this line
> scaleCreationCode = scaleCreationCode.Replace(",", ".");
> this is the result:
> View this message in context:
> Sent from the MapGuide Internals mailing list archive at Nabble.com.
> mapguide-internals mailing list
> mapguide-internals at lists.osgeo.org
More information about the mapguide-internals