|
POST
|
Kevin MacLeod The config file comes from WAB. When you add a widget in builder, WAB uses the default configuration of the widget (config.json in widget's folder). But if you edit the widget's configuration in builder, WAB create a config file in /configs/widgetName/ So eDraw doesn't work because it doesn't like your old config file (MySite/configs/eDraw/config_Draw.json). Could you send me it ? I want the widget to be capable to use "old" config's file.
... View more
10-25-2015
03:07 PM
|
0
|
1
|
1665
|
|
POST
|
Mihkel Männa The for(var i in my_array) syntax is convenient but very "dangerous" in JavaScript, especially if the array has been "manipulated" (removes, slice...). I don't know why but sometimes this syntax does an extra loop (so the array bugs in this loop). I try to avoid it but sometimes my php's and python's habits are too strong . The bug may start with your others widgets but if the eDraw widget can avoid it, it's a eDraw's bug !
... View more
10-25-2015
02:57 PM
|
1
|
0
|
1356
|
|
POST
|
Mihkel Männa Could you describe me the errors ? Indeed, I should (and would !) remove the last uses of this syntax ! EDIT : i have updated the release
... View more
10-22-2015
03:36 PM
|
0
|
2
|
1356
|
|
POST
|
Adam Gebhart, The version is 1.3.3 : - WAB 1.2 (1.3 on internal WAB numerotation) - my third version under WAB 1.3 (internal numerotation) It's a release from 10/22 because i live in your future (in New Caledonia).
... View more
10-22-2015
03:10 PM
|
2
|
4
|
1356
|
|
POST
|
Hi Kevin, I cannot reproduce this. Tested on Firefox, Chrome and IE. Could you tell me more about your context ? (browser, WAB version, WAB theme...) @others Do you have this bug ? In which context ?
... View more
10-22-2015
03:01 PM
|
1
|
6
|
1665
|
|
POST
|
Thanks Kevin MacLeod. I found this bug too and it's corrected in the next release . Also, sometimes it seems like you have to click twice to get the feature (whether it be point, or Text) to place onto the map. It happens sometimes to me. I hav'nt found exactly why it happens (although i know it comes from symbol under mouse).
... View more
10-20-2015
04:03 PM
|
0
|
0
|
1849
|
|
POST
|
Finbar Gillen I've added it to the next release . But i hav'nt add UI in settings to manage this default symbols (and will not).
... View more
10-20-2015
02:32 PM
|
2
|
6
|
1648
|
|
POST
|
Finbar Gillen You can modify this in the "drawBoxOnTypeSelected" method. If you want to modify this, i think the best way is to add a section in the config's file. Then in the method, you can modify the default symbol if there is a symbol defined in the config's file. Add in config.json : "defaultSymbols":{ "SimpleMarkerSymbol":{symbol in json}, "SimpleLineSymbol":{symbol in json}, "SimpleFillSymbol":{symbol in json}, "TextSymbol":{symbol in json} } And then replace in the method the switch with : switch (commontype) { case "point": var options = (this.config.defaultSymbols && this.config.defaultSymbols.SimpleMarkerSymbol) ? this.config.defaultSymbols.SimpleMarkerSymbol : null; symbol = new SimpleMarkerSymbol(options); break; case "polyline": var options = (this.config.defaultSymbols && this.config.defaultSymbols.SimpleLineSymbol) ? this.config.defaultSymbols.SimpleLineSymbol : null; symbol = new SimpleLineSymbol(options); break; case "polygon": var options = (this.config.defaultSymbols && this.config.defaultSymbols.SimpleFillSymbol) ? this.config.defaultSymbols.SimpleFillSymbol : null; symbol = new SimpleFillSymbol(options); break; case "text": var options = (this.config.defaultSymbols && this.config.defaultSymbols.TextSymbol) ? this.config.defaultSymbols.TextSymbol : { "verticalAlignment" : "middle", "horizontalAlignment" : "center" }; symbol = new TextSymbol(options); break; } If you make this modification, could you make a pull request in github ?
... View more
10-15-2015
09:05 PM
|
1
|
8
|
1648
|
|
POST
|
Hi Rebecca Strauch, GISP, JSON to features is the good tool but it doesn't work if there are multiples geometry types in the same json. You may have to parse the json and separate it by geometry type before to pass it in JSON to Features.
... View more
10-07-2015
03:09 PM
|
1
|
4
|
1584
|
|
POST
|
Hi Finbar Gillen, The easier way (and more customisable) i see : add support in the widget for an export via a gpserver (with the json as input). It's a cool feature to add. I may add this in a future release (with an example toolbox to publish).
... View more
10-07-2015
03:04 PM
|
4
|
12
|
1648
|
|
POST
|
Mihkel Männa Thanks for your bug's detection ! It was the export part in HTML5 browsers (non IE) which make this bug. The correction will be included in the next release.
... View more
10-04-2015
09:30 PM
|
0
|
0
|
1584
|
|
POST
|
NB is nota bene Nota bene - Wikipedia, the free encyclopedia For "moove", i thought i have remoooved it
... View more
10-01-2015
10:43 PM
|
1
|
0
|
1584
|
|
POST
|
The only issue I see at the moment is the labels don't delete upon deletion of the polyline or polygon object. Did I read correctly that a label should automatically delete in that instance? Either way, it's easy to manually delete a label that doesn't correspond to another object. You read correctly ! But i hadn't code it... until now.
... View more
10-01-2015
10:24 PM
|
0
|
0
|
1890
|
|
POST
|
Robert Scheitlin, GISP Kevin MacLeod Adam Gebhart and others. You will find attached a widget version with some measure's improvments: - a measure's label is now linked to its polygon or polyline : - delete the polygon or the polyline will delete the measure's label - you can't modify name and description of measure's label but - if you modifiy symbology, it will be kepted - if you move the label, it will be kepted until you change it's polygon or polyline - update the polygon or polyline will update (recalculate) its mesaure's label - on polygon or polyline update, you can activate or deactivate measure - the link is kepted in local storage and in exported/imported file - on config: - you can specify if on polygon or polyline add, the measure checkbox is checked or not by default - you can enable geometryEngine (client side) or specify a custom geometry service (server side). Please not that if the map is in webmercator or WGS84, the "old" methods will be used (esri.geometry.webMercatorUtils and esri.geometry.geodesicUtils). - you can specify patterns for measure's label (one for polyline and one for polygon). For now, i don't add capabilities for segment's measure or point coordinates. Could you test this version before i release it ? PS : if the map is in webmercator or WGS84, the measures are geodetic else planar.
... View more
09-27-2015
07:45 PM
|
4
|
6
|
1890
|
| 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
|