File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,11 @@ import {
1111 MapAreaContainer ,
1212 MapView ,
1313} from "@macrostrat/map-interface" ;
14- import { mapboxAccessToken } from "@macrostrat-web/settings" ;
14+ import { mapboxAccessToken , tileserverDomain } from "@macrostrat-web/settings" ;
1515import { Footer } from "~/components/general" ;
1616import { Tabs , Tab } from "@blueprintjs/core" ;
1717import { mergeStyles } from "@macrostrat/mapbox-utils" ;
1818
19- const tileServer = 'http://localhost:5500' ;
20-
2119export function Page ( ) {
2220 return h ( 'div.main' , [
2321 h ( 'div.heatmap-page' , [
@@ -44,7 +42,7 @@ function todayStyle() {
4442 sources : {
4543 today : {
4644 type : "vector" ,
47- tiles : [ tileServer + "/stats-tile /{z}/{x}/{y}?date=today" ] ,
45+ tiles : [ tileserverDomain + "/usage-stats/rockd /{z}/{x}/{y}?date=today" ] ,
4846 }
4947 } ,
5048 layers : [
@@ -67,7 +65,7 @@ function allStyle() {
6765 sources : {
6866 all : {
6967 type : "vector" ,
70- tiles : [ tileServer + "/stats-tile /{z}/{x}/{y}" ] ,
68+ tiles : [ tileserverDomain + "/usage-stats/rockd /{z}/{x}/{y}" ] ,
7169 }
7270 } ,
7371 layers : [
You can’t perform that action at this time.
0 commit comments