MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / setView

Method setView

codebase/sources/dhtmlxscheduler.es.js:13816–13819  ·  view source on GitHub ↗
(latitude, longitude, zoom)

Source from the content-addressed store, hash-verified

13814 this._markers = [];
13815 }
13816 setView(latitude, longitude, zoom) {
13817 this.map.setCenter([longitude, latitude]);
13818 this.map.setZoom(zoom);
13819 }
13820 async resolveAddress(string) {
13821 let response = await fetch(`https://api.mapbox.com/geocoding/v5/mapbox.places/${string}.json?access_token=${this.settings.accessToken}`).then((response2) => response2.json());
13822 let position = {};

Callers 3

onEventClickMethod · 0.95
setViewMethod · 0.45
setUserLocationFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected