MCPcopy Create free account
hub / github.com/Maps4HTML/MapML.js / geojson2mapml

Method geojson2mapml

src/web-map.js:1522–1529  ·  view source on GitHub ↗
(json, options = {})

Source from the content-addressed store, hash-verified

1520 });
1521 }
1522 geojson2mapml(json, options = {}) {
1523 if (options.projection === undefined) {
1524 options.projection = this.projection;
1525 }
1526 let geojsonLayer = Util.geojson2mapml(json, options);
1527 this.appendChild(geojsonLayer);
1528 return geojsonLayer;
1529 }
1530
1531 _ready() {
1532 if (this.hasAttribute('name')) {

Callers 3

Util.jsFile · 0.45
fetchFeaturesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected