Giter Site home page Giter Site logo

Comments (7)

bsvensson avatar bsvensson commented on May 30, 2024 2

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.

driskull avatar driskull commented on May 30, 2024

Yeah, I think we talked about adding these at some point right @kellyhutchins ? Is this something we want to do?

from application-base-js.

kellyhutchins avatar kellyhutchins commented on May 30, 2024

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.

driskull avatar driskull commented on May 30, 2024

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.

bsvensson avatar bsvensson commented on May 30, 2024

Seems like we would just want to promote WebMaps instead of this.

+1

from application-base-js.

alaframboise avatar alaframboise commented on May 30, 2024

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.

driskull avatar driskull commented on May 30, 2024

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)

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.