Esri / application-base-js

A core class for creating a configurable application using JavaScript/TypeScript
https://developers.arcgis.com/javascript/
Apache License 2.0
20 stars 9 forks source link

Add support for additional url parameters #19

Open kellyhutchins opened 6 years ago

kellyhutchins commented 6 years ago

The 4.x Layer methods fromArcGISServerUrl and fromPortalItem make it easier to support adding a layer via url or portal item id. I think we should add support for these to the app base urlUtils in order to support some of the additional online url params listed here:

https://doc.arcgis.com/en/arcgis-online/reference/use-url-parameters.htm

@driskull what do you think?

driskull commented 6 years ago

That sounds like a good idea. Lets just make it so if its not in the URL we don't load the modules that use it.

kellyhutchins commented 6 years ago

yeah that's easy... ok I'll make the update.