Comments (7)
I'm pretty sure 4.x MapViewer will continue to support the same params. Keep in mind that the MapViewer is both a viewing and creating tool (as in creating webmaps), while the templates are primarily for viewing (webmaps/webscenes). So I think it makes sense that things like basemapUrl
are not supported in templates/apps (that don't create webmaps).
Note that WAB also has (pretty similar) viewing-ish URL parameters:
http://doc.arcgis.com/en/web-appbuilder/manage-apps/app-url-parameters.htm and https://developers.arcgis.com/web-appbuilder/guide/xt-app-url-parameters-for-dev.htm.
I think it's beneficial for the platform to keep app URL params consistent, which we've been trying to do for a while :)
from application-base-js.
Yeah, I think we talked about adding these at some point right @kellyhutchins ? Is this something we want to do?
from application-base-js.
I'm on the fence. I think it would require a ton of code for dealing with all the potential layer types. Not sure we want to take that on?
from application-base-js.
yeah, that's true. Maybe we don't have to support ALL the online viewer URL params. Only the ones we want to. It would be a pain to have to write a class that adds every layer type to a map. Seems like we would just want to promote WebMaps instead of this.
from application-base-js.
Seems like we would just want to promote WebMaps instead of this.
+1
from application-base-js.
I guess I was just thinking the base should support all of the Map Viewer's params since it is essentially providing a "standard base" for all future templates. Right now it supports most of them.
I guess the question is: Will the 4.x Map Viewer even use these params? If not I maybe we should remove all params support from the base and just let app template developers define their own at the app-level.
from application-base-js.
So I think it makes sense that things like basemapUrl are not supported in templates/apps (that don't create webmaps).
I agree. I'll remove the basemap setting functions.
from application-base-js.
Related Issues (18)
- Add support for service proxies
- Document settings interface
- urlUtils and itemUtils: application-level modules? HOT 8
- urlUtils: Pass in component options with parameters HOT 7
- _getEsriEnviromentPortalUrl always returns at line 495 HOT 4
- Errors in TypeScript after updating to TS version 2.4 HOT 2
- Add support for additional url parameters HOT 2
- Review code HOT 5
- Use async/await in load() method HOT 7
- Use esri/kernel instead of dojo/kernel HOT 3
- npm @esri/application-base-js 0.0.5 different to master
- Update the proxy logic to look for proxied layers in basemap
- Add support for getting the basemap group HOT 3
- Create an option to disable multiple webmaps,groups,scenes
- Document support utilities
- Enhancement to support case-insensitive URL parameters HOT 2
- Enhancement to change internal variable and function naming to match parameter order
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from application-base-js.