Skip to content

Commit

Permalink
Use mapx staging as mapx host
Browse files Browse the repository at this point in the history
  • Loading branch information
fxi committed Feb 1, 2024
1 parent 0cbd225 commit 67a9dda
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions src/examples/app_events/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Manager } from "https://app.mapx.org/sdk/mxsdk.modern.js";
import { Manager } from "https://app.staging.mapx.org/sdk/mxsdk.modern.js";

const mapx = new Manager({
container: document.getElementById("mapx"),
verbose: true,
url: "https://app.mapx.org:443",
url: "https://app.staging.mapx.org:443",
params: {
theme: "color_light",
project: "MX-YBJ-YYF-08R-UUR-QW6",
Expand Down
4 changes: 2 additions & 2 deletions src/examples/app_jquery/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { Manager } from "https://app.mapx.org/sdk/mxsdk.modern.js";
import { Manager } from "https://app.staging.mapx.org/sdk/mxsdk.modern.js";
import "https://code.jquery.com/jquery-3.7.0.slim.js";
const $ = jQuery;

const mapx = new Manager({
container: document.getElementById("mapx"),
verbose: true,
url: "https://app.mapx.org:443",
url: "https://app.staging.mapx.org:443",
params: {
closePanels: true,
theme: "color_light",
Expand Down
4 changes: 2 additions & 2 deletions src/examples/app_react/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Manager } from "https://app.mapx.org/sdk/mxsdk.modern.js";
import { Manager } from "https://app.staging.mapx.org/sdk/mxsdk.modern.js";
import reactSplitGrid from "https://cdn.jsdelivr.net/npm/[email protected]/+esm";

/**
Expand All @@ -17,7 +17,7 @@ const App = () => {
const mapx = new Manager({
container: mxContainer.current,
verbose: true,
url: "https://app.mapx.org:443",
url: "https://app.staging.mapx.org:443",
params: {
theme: "color_light",
project: "MX-YBJ-YYF-08R-UUR-QW6",
Expand Down
4 changes: 2 additions & 2 deletions src/examples/static_animate_locations/index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { Manager } from "https://app.mapx.org/sdk/mxsdk.modern.js";
import { Manager } from "https://app.staging.mapx.org/sdk/mxsdk.modern.js";
import tomSelect from "https://cdn.jsdelivr.net/npm/[email protected]/+esm";

const elSelect = document.getElementById("selectLocation");

const mapx = new Manager({
container: document.getElementById("mapx"),
verbose: true,
url: "https://app.mapx.org:443",
url: "https://app.staging.mapx.org:443",
static: true,
verbose: true,
params: {
Expand Down
4 changes: 2 additions & 2 deletions src/examples/static_filters_and_transparency/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as noUiSlider from "https://unpkg.com/[email protected]/dist/nouislider.mjs";
import TomSelect from "https://unpkg.com/[email protected]/dist/esm/tom-select.complete.js";
import { AnimationButton } from "./animation_button.js";
import { Manager } from "https://app.mapx.org/sdk/mxsdk.modern.js";
import { Manager } from "https://app.staging.mapx.org/sdk/mxsdk.modern.js";

const idView = "MX-JZE39-E53LZ-0IIHP"; // somalia acled 2017
const idAttrNum = "fatalities";
Expand All @@ -10,7 +10,7 @@ const idAttrText = "actor1";
const mapx = new Manager({
container: document.getElementById("mapx"),
verbose: true,
url: "https://app.mapx.org:443",
url: "https://app.staging.mapx.org:443",
static: true,
verbose: true,
params: {
Expand Down
4 changes: 2 additions & 2 deletions src/examples/static_joystick/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Manager } from "https://app.mapx.org/sdk/mxsdk.modern.js";
import { Manager } from "https://app.staging.mapx.org/sdk/mxsdk.modern.js";
import nipplejs from "https://cdn.jsdelivr.net/npm/[email protected]/+esm";

const conf = {
Expand All @@ -15,7 +15,7 @@ const conf = {
const mapx = new Manager({
container: document.getElementById("mapx"),
verbose: true,
url: "https://app.mapx.org:443",
url: "https://app.staging.mapx.org:443",
static: true,
verbose: true,
params: {
Expand Down
4 changes: 2 additions & 2 deletions src/examples/static_multi_instances/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Manager } from "https://app.mapx.org/sdk/mxsdk.modern.js";
import { Manager } from "https://app.staging.mapx.org/sdk/mxsdk.modern.js";

function makeApp(mcId, viewId) {
const mc = document.getElementById(mcId);
Expand All @@ -10,7 +10,7 @@ function makeApp(mcId, viewId) {
const m = new Manager({
container: mc,
verbose: true,
url: "https://app.mapx.org:443",
url: "https://app.staging.mapx.org:443",
static: true,
verbose: true,
params: {
Expand Down

0 comments on commit 67a9dda

Please sign in to comment.