| MGPoint Object |
|
The MGPoint object represents a point on the map expressed in MCS or latitude/longitude coordinates.
For a point expressed in latitude/longitude, X represents longitude, while Y represents latitude. You can create an MGPoint object using the createObject method in MGMap.
Java Development for Autodesk MapGuide Viewer Plug-In: For Autodesk MapGuide Viewer Plug-In, the Java class MGPoint extends java.lang.Object and can be found in the mapguide package, located in the npmapv32.zip file in the Netscape Plugins folder.
Java Development for Autodesk MapGuide Viewer, Java Edition: For Autodesk MapGuide Viewer, Java Edition, MGPoint is a Java interface that resides in the com.autodesk.mgjava package, which is located in the mgjava.cab file (for Windows systems only) and the mgjava.jar file (for all platforms).
|
Compares this MGPoint object to the specified object. |
|
|
Returns the X value (longitude) of the point. |
|
|
Returns the Y value (latitude) of the point. |
|
|
Sets the X value (longitude) of the point. |
|
|
Returns the Y value (latitude) of the point. |
Note that direct access to properties is only available in Autodesk MapGuide Viewer ActiveX Control. In Autodesk MapGuide Viewer Plug-In and Autodesk MapGuide Viewer, Java Edition APIs, get/set methods provide access to an object's properties. For compatibility, the ActiveX Control API supports the same get/set methods as the Autodesk MapGuide Viewer Plug-In and the Autodesk MapGuide Viewer, Java Edition APIs.
|
The X value (longitude) of the point. |
|
|
The Y value (latitude) of the point. |