Giter Site home page Giter Site logo

Comments (8)

kellyhutchins avatar kellyhutchins commented on May 30, 2024

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.

alaframboise avatar alaframboise commented on May 30, 2024

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.

kellyhutchins avatar kellyhutchins commented on May 30, 2024

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.

alaframboise avatar alaframboise commented on May 30, 2024

Is this what the Map Viewer uses/will use in the future?

from application-base-js.

kellyhutchins avatar kellyhutchins commented on May 30, 2024

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.

alaframboise avatar alaframboise commented on May 30, 2024

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.

alaframboise avatar alaframboise commented on May 30, 2024

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.

driskull avatar driskull commented on May 30, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.