]> git.argeo.org Git - gpl/argeo-suite.git/blob - org.argeo.app.geo.js/MapPart.js
Prepare next development cycle
[gpl/argeo-suite.git] / org.argeo.app.geo.js / MapPart.js
1 /** API to be used by Java.
2 * @module MapPart
3 */
4
5 /** Abstract base class for displaying a map. */
6 export default class MapPart {
7
8 /** Zoom the map to the given value. */
9 setZoom(zoom) {
10 throw new Error("Abstract method");
11 }
12
13 /** Set the center of the map to the given coordinates. */
14 setCenter(lng, lat) {
15 throw new Error("Abstract method");
16 }
17
18 /** Add a single point. */
19 addPoint(lng, lat, style) {
20 throw new Error("Abstract method");
21 }
22
23 addUrlLayer(url, format) {
24 throw new Error("Abstract method");
25 }
26 }