Increased limit of users that can be displayed on the map
This commit is contained in:
parent
969d68cba8
commit
765f00067c
6
js/dist/forum.js
vendored
6
js/dist/forum.js
vendored
@ -16485,7 +16485,11 @@ var GlobalMapPage = /*#__PURE__*/function (_Page) {
|
||||
accessToken: publicToken
|
||||
}).addTo(this.map);
|
||||
this.map.setView([47, 2], 6);
|
||||
flarum_forum_app__WEBPACK_IMPORTED_MODULE_1___default().store.find('user-locations').then(function (response) {
|
||||
flarum_forum_app__WEBPACK_IMPORTED_MODULE_1___default().store.find('user-locations', {
|
||||
page: {
|
||||
limit: 1000
|
||||
}
|
||||
}).then(function (response) {
|
||||
var markers = L.markerClusterGroup();
|
||||
|
||||
for (var _iterator = _createForOfIteratorHelperLoose(response), _step; !(_step = _iterator()).done;) {
|
||||
|
2
js/dist/forum.js.map
vendored
2
js/dist/forum.js.map
vendored
File diff suppressed because one or more lines are too long
@ -63,7 +63,7 @@ export default class GlobalMapPage extends Page {
|
||||
|
||||
this.map.setView([47, 2], 6);
|
||||
|
||||
app.store.find('user-locations').then((response) => {
|
||||
app.store.find('user-locations', { page: { limit: 1000 } }).then((response) => {
|
||||
let markers = L.markerClusterGroup();
|
||||
for(let item of response) {
|
||||
let user = item.data.attributes;
|
||||
|
Loading…
Reference in New Issue
Block a user