Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsMapMapDNN Map Module - layout positionDNN Map Module - layout position
Previous
 
Next
New Post
5/14/2009 6:00 AM
 

Hello,

i got a little problem with my DNN Map Module - http://www.dotnetnuke.com/Development/Forge/ModuleMap/tabid/952/Default.aspx

The problem is, that i cant set new layout position.
in interface option the position is set to default: latitude 0 longitude 0 with an empty bubble marker.
i want to change the position to a new location without bubble marker open. just the overview of my data locations.

When i drag the map to my position and set the cords and save. and go back to the option, its reset back to cords: 0,0.

Does anyone got a solution for this?

Have a nice day!

 

 
New Post
6/8/2009 12:53 PM
 

Did you click on a "Save" button to save it?

 
New Post
8/19/2009 11:00 PM
 

I know rather late on this one but I only installed the module yesterday.

I was having the same problem and there appears to be a bug with number formatting.  The locale I am set in is pl-PL so numbers are formatted 1,23 not 1.23. The module doesn't seem to be ble to save any of these at all... but whole numbers works fine.  I'm starting to work in the SQL tables so that will get around this though it is a bit of a nuisance.

 
New Post
4/5/2011 6:00 AM
 
Some necroposting here... huh
Got that very same problem with numbers. By doing source code research, I've found this piece of code in Standard.Data.aspx.vb would always return false for regional dot separator different than '.':
...
Public Overloads Overrides Function SetData(ByVal Argument As String) As String
...
If variables.ContainsKey("latitude") AndAlso IsNumeric(variables("latitude")) Then
point.Latitude = Double.Parse(variables("latitude"), System.Globalization.CultureInfo.InvariantCulture)
Else
point.Latitude = -1
End If
If variables.ContainsKey("longitude") AndAlso IsNumeric(variables("longitude")) Then
point.Longitude = Double.Parse(variables("longitude"), System.Globalization.CultureInfo.InvariantCulture)
Else
point.Longitude = -1
End If
...

Module author sets the value of 'variables("longitude")' to invariant representation with javasript code (in Map.js) directly converting to '.' separator and then tries to check that value with IsNumeric function which is culture-aware. Hence, there will always be false result for cultures whose digital separator not set to '.'.

Hope that will help someone. And may be module author will patch this bug out someday.

ps Sorry for my english
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsMapMapDNN Map Module - layout positionDNN Map Module - layout position


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out