Skip to content

Commit

Permalink
georchestra#37: added skeleton of maps page and route for mapviewer o…
Browse files Browse the repository at this point in the history
…n a specific map
  • Loading branch information
mbarto committed Oct 21, 2019
1 parent 8349dad commit 1f355c9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
8 changes: 8 additions & 0 deletions js/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ const appConfig = assign({}, appCfg, {
name: "mapviewer",
path: "/",
component: require('@mapstore/product/pages/MapViewer')
}, {
name: "mapviewer",
path: "/viewer/:mapType/:mapId",
component: require('@mapstore/product/pages/MapViewer')
}, {
name: "maps",
path: "/maps",
component: require('@mapstore/product/pages/Maps')
}, {
name: "admin",
path: "/admin",
Expand Down
15 changes: 15 additions & 0 deletions localConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,21 @@
"FeedbackMask"
],
"common": [],
"maps": [
"Login",
{
"name": "Maps",
"cfg": {
"mapsOptions": {
"start": 0,
"limit": 12
},
"fluid": true
}
},
"MapSearch",
"CreateNewMap",
"FeaturedMaps"],
"admin": ["OmniBar", "Login"],
"notallowed": [
"OmniBar",
Expand Down

0 comments on commit 1f355c9

Please sign in to comment.