|
POST
|
Hi, To clarify, the aim here is to add layers programmatically without adding it in LayerList widget. You can use this when programming widgets. I searched this for one of my widgets and because the solution wasn't easy to find, i share the solution here
... View more
04-07-2015
03:27 PM
|
0
|
0
|
527
|
|
POST
|
Hi, In a widget, i had to add layers without adding it in LayerList widget (and without modifications in jimu.js). After digging in jimu.js, i finally find how to do this : After layer's instanciation but before adding it in the map: myLayer._basemapGalleryLayerType = "basemap";
... View more
04-06-2015
10:52 PM
|
0
|
2
|
4012
|
|
POST
|
After watching the widget code, it seems that the draw layer used for drawing param takes the param name as id. I think your 2 widget's parameters have the same name and so the 2 draw widgets try to use the same layer id.
... View more
03-04-2015
02:46 PM
|
1
|
0
|
806
|
|
POST
|
It was hard to find but I've pick your code up in http://gis.hamiltoncounty.in.gov/mapviewer/index.html To include your text improvments, i think i will extend the jimu/dijit/SymbolChooser class in a widgets/eDraw/MySymbolChooser class and call this new class in eDraw widget instead of jimu/dijit/SymbolChooser. And i will correct a bug i found in jimu/dijit/SymbolChooser in this extended class.
... View more
02-26-2015
03:49 PM
|
0
|
2
|
3078
|
|
POST
|
Larry, A. Changing target location depends on your browser's settings. For the default file name, 2 options i think : 1) Let the user modify it in a text field 2) In widget config (i prefer this one) B. Yes, it's a choice. Therefore it can be discussed ! C. The file exported contains all drawings. D. I have added the map selection yesterday ! (i hav'nt yet update the demo) Your text's options are great ! We could merge our 2 widgets. Could you send me the code ? Are you familiar with git ? We could work on the same github repository !
... View more
02-26-2015
02:49 PM
|
0
|
3
|
12528
|
|
POST
|
I have found a bug on symbolChooser component (jimu.js/dijit/SymbolChooser.js). Where can i report it (and propose the very simple "patch") ? When you want to init the SymbolChooser with a specific text symbol, it doesn't work (therefore it works with marker, line or fill symbol). There is a little missing in jimu.js/dijit/SymbolChooser.js _initTextSection method : In ine 728 this._initTextSettings(); should be this._initTextSettings(this.symbol); like for other symbol types.
... View more
02-24-2015
10:50 PM
|
0
|
2
|
4269
|
|
POST
|
Hi, It is possible to customize the webapp builder developper edition to have a lighter configuration. - deploy wished components (init.js, env.js, jimu.js, libs, widgets...) on a web server - modify index.html in client/stemapp to point to this ressources - modifiy client/stemapp/config.json - add all widgets in widgetOnScreen and widgetPool (with visible on false or true as you wish) - point to widget's icons on web server location. - modify the corresponding locations in init.js (dojoConfig.packages). /!\ in web server init.js - delete this components in client/stemapp folder With this configurations, the apps are lighter (contain index.html, config.json, configs and eventually specific widgets or theme) and point to a common location when deployed on web server (for example, modification in a custom widget => all apps are ok so they point on it). I'm currently deploying it for a client. It's a little experimental now but i could make a complete description when we will deploy it on production. On minimum, you could deploy jimu.js and libs on the web server and modify index.html and init.js (dojoConfig.packages) in client/stemapp to point on it. (and then remove this 2 folders from client/stemapp). => More than 8 Mo removed from stemapp and therefore from all created apps => all apps point to the same jimu.js and libs location so browser caching is used between apps !
... View more
02-24-2015
10:42 PM
|
1
|
1
|
1574
|
|
POST
|
An off-line widget could be amazing (caching vector layers and tiles). And adding-support to offline edit on edit widget !
... View more
02-24-2015
04:25 PM
|
0
|
3
|
1331
|
|
POST
|
Thanks for your answer Robert. (I just edit the post...) 1. I didn't find documentation on jimu/dijit/Message so i use it just for information message (like in widget loading if there are drawings saved in local storage). For example, the type 'error' wich is mentionned in source code doesn't work (when passing type:error in constructor parameters). 2. Ok. It just jimu-input class now. I will add css to have better experience with these buttons. 3. Ok. Thanks
... View more
02-24-2015
02:20 PM
|
0
|
0
|
12528
|
|
POST
|
Ehanced draw widget for WebApp Builder for Arcgis UPDATE 2018/05/09 (new Release v2.8.1) : refactoring use esri/geometry/projection (available since esri js api 3.24) instead of proj4js (external libs) systematic use of geometry engine (no more mercator utils, geometry server...) for polyline, the user can now add an arrow (available since esri js api 3.23) live measure while drawing WARNING : this release needs Esri API >= 3.24 Release 2.8.1 on Github (Direct zip link : https://github.com/magis-nc/esri-webappbuilder-widget-eDraw/releases/download/v2.8.1/eDraw.zip ) Demo : https://apps.magis.nc/demo/eDraw/ Github : https://github.com/magis-nc/esri-webappbuilder-widget-eDraw Wigdet's Features (improvments of standard Draw widget) : add name and description fields on drawings enable infowindow on drawings (selection) on text drawing, no insert if no name. on modification : enable geometry update (with snapping if wanted : CTRL) and preview symbology changes on the fly list add list of all drawings actions on each drawing : modify / delete / [up / down] / zoom all drawings : zoom, copy, delete, export on drawing infowindow -> select drawing in list on zoom on a drawing -> select drawing on map (and show infoWindow) re-order graphics with drag&drop import/export : allow users to export or import drawings (json format) import can be done with file drag&drop in import popup localStorage dynamic saving on each drawing add/delete/update on widget load : load drawings saved in local Storage draws plus (initially from Larry Stout https://geonet.esri.com/people/Larry_Stout) preview under mouse when adding text or point for text, add font choice, font angle, bold, italic, placement and underline options. add arrow menu for polyline checkbox to hide drawing's layer (and therefore widget UI) add of Nautical unit measure's for points/polylines/polygons with automatic update on element's update (or delete). Measure's can be indidualy disabled/enabled on any graphic. "On the fly" measure when drawing defaults symbols can be specified in config's file use of builtin projection engine (available since esri js api 3.24) instead of proj4js library This message was updated by Jeremie Cornet (New Release)
... View more
02-24-2015
01:17 AM
|
21
|
251
|
104385
|
|
POST
|
Hi Anton, For the first point, i made an url widget wich tracks extents change on url and go to the extent passed in url on load : URL widget (extent tracking...) It would be possible to add a mecanism to parse page links with class "link" and to replace a pattern ({{extent}} for example) with "extent (extent=xmin,ymin,xmax,ymax)". Therefore, you could add links with dynamic extent param (http:/myurl/anApp/?{{extent}}). @Robert, would you add to your esearch widget a mecanism to push esearch params in url ? So It would be easier for users to share links. NB : it could be done with publishData and URL widget (No, i'm not being parochial for a minute 😉 )
... View more
02-24-2015
01:06 AM
|
0
|
2
|
1331
|
|
POST
|
Update (2015/09/25) : - correction of conflict between WAB >= 1.1 and the widget on load (extent from URL params) Now, the widget is fully compatible with WAB standard URL params. Hi, I made a widget to deal with URL parameters. It tracks extent changes and put them in url. Then the user can use his browser's return and forward buttons to go to previous or next extent. Of course, if extent parameters are in url on map's loading, the map is centered. The widget communicates with other widgets : - listen to widgets "asking" to put parameters in url. - send parameters changes to other widgets (when browser's return and forward buttons are used or when an other widget has asked to put parameters in url). Github : magis-nc/esri-webappbuilder-widget-url · GitHub Last release : Release Release v1.3.2 (debug) · magis-nc/esri-webappbuilder-widget-url · GitHub And widget zip (release v1.3.2): https://github.com/magis-nc/esri-webappbuilder-widget-url/archive/v1.3.2.zip
... View more
02-16-2015
04:18 PM
|
4
|
14
|
11953
|
|
POST
|
Hi Anthony, All webapp builder widgets are dojo dijits. Therefore, you can access a widget with dijit.byId(widget_id) : var tmpLayer = dijit.byId("widget_id").tempResultLayer; With this solution, you need to know the id of the out-of-the-box Query widget. So you can use the widget manager (method getWidgetsByName) to get the search widget : https://developers.arcgis.com/web-appbuilder/api-reference/widgetmanager.htm Last but not least, you can use the communication system between widgets : https://developers.arcgis.com/web-appbuilder/guide/communication-between-widgets.htm In this case, you have to modify the query widget (add publishData when necessary).
... View more
02-11-2015
03:13 PM
|
0
|
1
|
1145
|
|
DOC
|
Of course. I was thinking of something like that for 1 selected basemap : And something like that for a mashup : For selection mecanism, i propose : 2 icons per basemap (over img) in available basemaps : - the first for setting as only basemap (a check icon) - the second for adding in mashup (an add icon) If the current basemap is a mashup, 1 remove icon per selected basemap
... View more
01-06-2015
08:17 PM
|
1
|
0
|
22595
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-17-2015 05:03 PM | |
| 1 | 05-20-2015 03:24 PM | |
| 1 | 04-09-2015 03:56 PM | |
| 1 | 12-14-2014 08:10 PM | |
| 1 | 11-26-2014 04:23 PM |
| Online Status |
Offline
|
| Date Last Visited |
09-08-2025
03:52 PM
|