]>
git.argeo.org Git - gpl/argeo-suite.git/blob - org.argeo.app.geo.js/MapPart.js
1 /** API to be used by Java.
5 /** Abstract base class for displaying a map. */
6 export default class MapPart
{
8 /** Zoom the map to the given value. */
10 throw new Error("Abstract method");
13 /** Set the center of the map to the given coordinates. */
15 throw new Error("Abstract method");
18 /** Add a single point. */
19 addPoint(lng
, lat
, style
) {
20 throw new Error("Abstract method");
23 addUrlLayer(url
, format
) {
24 throw new Error("Abstract method");