MGDigitizePolygonObserver.onDigitizedPolygon   Go to object model Go to parent topic

Syntax

public abstract void onDigitizedPolygon(MGMap map, int npts, Vector latlon)

Description

The polygon-digitizing observer method.

This method is called by when digitizePolygon in MGMap has completed its operation. MGDigitizePolygonObserver has been replaced by the interface MGDigitizePolygonObserverEx. MGDigitizePolygonObserver will still work in Release 6, but you should use MGDigitizePolygonObserverEx for all future development.

Applies To

Plug-In and Java Edition only

Parameters

map - Specifies the MGMap instance.

npts - The number of vertices of the polygon.

latlon - A java.util.Vector object that stores a list of MGPoint objects, each of which represents a longitude-latitude pair.