JavaScript documentation.
[gpl/argeo-suite.git] / org.argeo.app.geo.js / src / org.argeo.app.geo.js / MapPart.js
index fa4ba5cbed9e8969802f7a73fc01b59e279af5b0..1a3dd2eb8818ed2672fe0cff91b285b887ca38f0 100644 (file)
@@ -1,9 +1,16 @@
+/** API to be used by Java.
+ *  @module MapPart
+ */
+
+/** Abstract base class for displaying a map. */
 export default class MapPart {
 
+       /** Zoom the map to the given value. */
        setZoom(zoom) {
                throw new Error("Abstract method");
        }
 
+       /** Set the center of the map to the given coordinates. */
        setCenter(lng, lat) {
                throw new Error("Abstract method");
        }