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

Method setView

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

Source from the content-addressed store, hash-verified

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

Callers 3

onEventClickMethod · 0.95
setViewMethod · 0.45
setUserLocationFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected