Comments (7)
Sounds a lot like this widget: https://github.com/swingley/zoomto-widget
from cmv-app.
Any luck with incorporating the above scenario. I am trying to do something similar. Actually attempting to add the ability to be able to select schools from a dropdown list via a rest endpoint, but having issues connecting the html and javascript. My functions don't seem to be recognized, even though the code works with another page I wrote.
from cmv-app.
Can you explain this functionality or provide a link to a working sample? If its something that would be useful to many users we can look at making it part of the viewer.
from cmv-app.
Hi David, thanks for inquiring, basically I would like to have a widget that allows a user to select from a dropdown list different fields from a rest endpoint using the query task, For example, I can change the rest endpoint to add the names of schools to the DDL or maybe police stations, and the user can just select the attribute from the DDL and it automatically zooms to the location. I have not been able to successfully implement a DDL widget using the configurable viewer JSAPI template which uses AMD. As an example, there was a sample in JS samples page where they used state names and you selected the state and it would zoom after selecting. Not sure if this something other developers can use.
Or maybe down the road, the ability to search layers where they can select the Park layer thus begin to enter the names of park and it begins to auto fill. I've seen this in a Flex application
Thanks.
from cmv-app.
Hi David,
I am just starting to get my feet wet with the JSAPI and was wondering if you would be willing to illustrate the steps required to add this widget (https://github.com/swingley/zoomto-widget)
into your template? I really appreciate the work you have done!
Thanks
from cmv-app.
@kjmueller I Won't be able to work on this until the week of the 17th. Im preparing for Dev Summit presentations then will be gone all next week for Dev Summit. If you will be in attendance we can have a look there perhaps. Also, start a new issue for this please.
from cmv-app.
Closing due to age. Let me know if you have questions.
from cmv-app.
Related Issues (20)
- field value should contain hyperlink in a popup obtain from search widget in 2.8 versionWeb App builder developer edition
- Removing infoTemplate on setMapClickMode HOT 2
- Create Dialog Box Dynamically,Get user input values and Add Text Graphics on Map ? HOT 1
- vector tile service 4.x supported? HOT 2
- Toggle Labeling menu LayerControl widget Layers ? HOT 5
- Can only identify top layer in Grouped Layer configuration HOT 5
- add WMS-C layer
- Print Scale Error HOT 3
- can cmv be localized??? HOT 4
- example to use Arcade in a customized identify config file HOT 2
- Feature Server support?
- support arcgis javascript api v3.33? or v3.28 HOT 4
- Are you going to make v4.16 version of CMV? v3.x will retired in 2022 as ESRI claimed HOT 4
- Save Layer Visibility State in URL Query Params HOT 2
- How put an accordion in left pane HOT 2
- BUG? - LayerControl doesn´t show all simbology
- Doubt: how open sidebarBottom programatically? HOT 1
- Zoom Level in Attribute Grid HOT 1
- Missing iconClass in widget config causes crash while loading on mobile HOT 1
- Home Button bug HOT 3
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 cmv-app.