[mapguide-trac] #1868: DataType inconsistency in LayerDefinition
MapGuide Open Source
trac_mapguide at osgeo.org
Mon Nov 28 07:29:34 EST 2011
#1868: DataType inconsistency in LayerDefinition
-----------------------+----------------------------------------------------
Reporter: gBecker | Owner:
Type: task | Status: new
Priority: high | Milestone: Maestro-4.0
Component: General | Version: 2.1.0
Severity: major | Keywords:
External_id: |
-----------------------+----------------------------------------------------
There is a datatype inconsistency in LayerDefinition-x.x.x.designer.cs
(all versions) between InsertionPointX and InsertionPointY.
InsertionPointX returns a string but InsertionPointY returns a double.
What is the correct datatype. MaestroAPI 2.x return both as a string.
{{{
[System.ComponentModel.DefaultValueAttribute("0.5")]
public string InsertionPointX {
get {
return this.insertionPointXField;
}
set {
if ((this.insertionPointXField != null)) {
if ((insertionPointXField.Equals(value) != true)) {
this.insertionPointXField = value;
this.OnPropertyChanged("InsertionPointX");
}
}
else {
this.insertionPointXField = value;
this.OnPropertyChanged("InsertionPointX");
}
}
}
[System.ComponentModel.DefaultValueAttribute(0.5)]
public double InsertionPointY {
get {
return this.insertionPointYField;
}
set {
if ((insertionPointYField.Equals(value) != true)) {
this.insertionPointYField = value;
this.OnPropertyChanged("InsertionPointY");
}
}
}
}}}
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1868>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list