Select to view content in your preferred language

Please fix RelationParameters documentation!

899
3
Jump to solution
11-04-2013 09:44 AM
JeffJacobson
Frequent Contributor
The RelationParameters documentation doesn't make any sense. Please fix it. See attached screenshot.
0 Kudos
1 Solution

Accepted Solutions
JohnGravois
Deactivated User
ive informed the team that maintains the doc.  thanks for pointing out the problem.

View solution in original post

0 Kudos
3 Replies
JohnGravois
Deactivated User
the API reference is indicating that an array of geometry objects are expected to be supplied to the property 'geometries1'.  what is it in particular that you find confusing?, the fact the variable name chosen for the array is also 'geometries' or that the sample only passes back the first item from that array?

do you have a suggestion for a clearer alternative?
0 Kudos
JeffJacobson
Frequent Contributor
The type is specified as
<Geometry[]> geometries1


The example that follows is
relationParams.geometries1 = geometries[0];


The geometries1 property is being assigned a value of a single Geometry object and not an array, isn't it?

(The above also applies to the geometries2 property as well.)
0 Kudos
JohnGravois
Deactivated User
ive informed the team that maintains the doc.  thanks for pointing out the problem.
0 Kudos