Comments (8)
Those are the standard url parameters from ArcGIS Online that we'd like all the configurable apps to support so my vote is that they stay in app base.
from application-base-js.
Thanks @kellyhutchins. I wish I would have known this as I use totally different params to configure the view, marker, search...
Is this documented somewhere?
from application-base-js.
Probably not. We had an issue in devtopia for the app developers when we first started supporting the url params and then we added the urlUtils support to the boilerplate.
from application-base-js.
Is this what the Map Viewer uses/will use in the future?
from application-base-js.
The parameters themselves are doc'd in ArcGIS Online doc.
http://doc.arcgis.com/en/arcgis-online/reference/use-url-parameters.htm
Although we don't use all of them.
from application-base-js.
Oh man. I don't use extent at all and use center, scale, zoom... since the map and view has changed a lot at 4.x.
There's other stuff in there too that can conflict with apps. E.g. my app uses and clears the view.graphics...
https://github.com/Esri/application-base-js/blob/master/support/itemUtils.js#L109
Plus I also see this in here for loading the view (but not in the AGO doc). I did this totally differently...
https://github.com/Esri/application-base-js/blob/master/support/itemUtils.js#L38
from application-base-js.
And for basemap url params, we might want to add something to accept the actual name string. e.g. streets-vector
from application-base-js.
@alaframboise if you don't want the mixins, you don't have to use them. They are all apart of the helper methods your app doesn't have to call.
from application-base-js.
Related Issues (18)
- Add support for service proxies
- Document settings interface
- urlUtils: Pass in component options with parameters HOT 7
- urlUtils: Add remaining Map Viewer URL support for layers 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.