POST
|
Hi! Simplest way is to pass the value of the ComboBox like that : on(thisButton, "click", function(registry.byId("ComboboxId").get('value')){....}); Regards
... View more
02-25-2016
01:04 AM
|
0
|
0
|
356
|
POST
|
Hi Kristian! Thanks for your answer! We are using the 3.15 Api by now and i have programmed a tool which allows the user to select what Geometry he wants to draw, the Color of the Outlines/Filling, Linewidth/style etc. and i want to make sure if it will work further on. Then this should work in 4.0, maybe with some changes i think. Regards, Miriam
... View more
02-05-2016
12:47 AM
|
0
|
0
|
844
|
POST
|
Hi! have you try it this way? on(drawToolbar, "DrawEnd", function(evt){....}); Regards
... View more
02-04-2016
02:43 AM
|
0
|
1
|
773
|
POST
|
Bonjour ! Ma boite vient d'acquérir toute la suite ArcGIS avec serveur etc... Cet après-midi je me suis lancé le défis de créer une appli pour les collègues qui sont sur le terrain. J'ai crée mon appli avec l'app builder d'ArcGIS Online, ca fonctionne ! Je voulais savoir si il y a un moyen d'accéder à cette appli sans passer par ArcGIS Online > Contenu > Mon_appli > Ouvrir > Afficher mon application ? Du genre un url directe avec juste un login pour rentrer... Merci d'avance Just translate this with Google for everyone who can't read french. Hello ! My box has acquired the entire suite with ArcGIS Server etc ... This afternoon I started the challenge to create an app for colleagues who are on the ground. I created my app with the app builder ArcGIS Online, It Works! I wanted to know if there is a way to access this app without going through ArcGIS Online> Content> Mon_appli> Open> View my application? Kind of a direct url with just one login to go ... Thanks in advance
... View more
02-04-2016
02:39 AM
|
0
|
0
|
468
|
POST
|
Rudimentary means an access to the toolbar like it is now?
... View more
02-04-2016
02:19 AM
|
0
|
2
|
844
|
POST
|
Good Morning! I would have a close look at esris map.centerAt(mapPoint) Here's the Hyperlink to it. Normaly that's all you need to zoom to a Point on a Map. Map | API Reference | ArcGIS API for JavaScript Regards, Miriam
... View more
02-04-2016
02:17 AM
|
0
|
0
|
958
|
POST
|
I'm not familiar with the web app builder, but i think because it's javascript I would place it in widget.js. This file is loaded at the start and so your code available when you need it.
... View more
01-22-2016
01:01 AM
|
0
|
1
|
551
|
POST
|
Hi Saurabh! This is easy to do...you just need to use map.centerAt(mapPoint); Here's the Reference: Map | API Reference | ArcGIS API for JavaScript You have to setup a new Point Geometry var point = new Point([x,y],new SpatialReference({ wkid:XXXXX })); with your Koordinates and use this Point to recenter the Map. Regards
... View more
01-22-2016
12:25 AM
|
0
|
3
|
551
|
POST
|
I think i don't understand your Question? Does the Printtask work or not? Regards, Miriam
... View more
12-18-2015
01:16 AM
|
0
|
1
|
308
|
POST
|
Hi Mike! I think this isn't the latest Sample, but it sounds like this is what you search. Maybe this gibes you a hint on what to do. Select graphic points within an extent | ArcGIS API for JavaScript and this one could become helpful too ArcGIS Javascript API: Feature selection using graphics Regards
... View more
12-14-2015
12:48 AM
|
2
|
2
|
684
|
POST
|
What exactly do you mean with "drawing on the globe"? What do you mean/want exactly? And your second Question means you are searching for an oportunity to select Items with a buffer? Regards
... View more
12-11-2015
12:24 AM
|
2
|
4
|
684
|
POST
|
Hello Tracy! Strange enough i find a way to manage this. At the Moment we change the way, how we produce PDFs. With a lot of testing and programming I inserted the PrintTask widget. While Testing our Drawingtool, not expecting anything has changed with the Fillcolor, i make some Testprintouts and there it shoes that the Fillcolour of the screen is still black, but in the Printouts the chosen color is used. I don't know why this is possible in the printouts and not on screen but for us it's enough. Area how it looks on screen ( Filling should be red ) and how it looks in the Printout Maybe this solution helps. Regards, Miriam
... View more
12-07-2015
04:12 AM
|
0
|
0
|
1230
|
POST
|
Okay..I tried to post the Code....never done this bevor, so don't blame if it's not displayed correctly 😉 If the table and the Map should be in one print you have to make your own Layout. Therefore you need to setup an own Webmap Export Task. How to do this is shown in the OnlineHelp - Tutorial: Publishing additional services for printing—Documentation (10.3 and 10.3.1) | ArcGIS for Server We have programmed a FloatingPanel where the User can make all necessary settings for the Print like Size, Format, DPI, Scale, Orientation ( Portrait or Landscape ), print with Basemaps or without, with Legend or not or just the Map like its shown. When the USer push the Print Button, this function does all the work and calls the Printer. function analyzePrintParameter(PrintScale,PrintOri,PrintDPI,PrintOutput){ require(["dojo/_base/array", "dojo/dom", "dojo/dom-style", "dojo/on", "dijit/registry", "esri/geometry/Point", "esri/SpatialReference", "esri/tasks/PrintParameters", "esri/tasks/PrintTask", "esri/tasks/PrintTemplate"], function( arrayUtils, dom, domStyle, on,registry, Point,SpatialReference, PrintParameters,PrintTask,PrintTemplate){ //Basemaps on/off if(registry.byId("CBBaseMapEinAus").get("checked")){ //filter the first Childnodeof Basemaps arrayUtils.forEach(map.layerIds, function(id){ var layer = map.getLayer(id); if (layer._basemapGalleryLayerType === "basemap") { layer.hide(); } }); } var printTask = new esri.tasks.PrintTask(app.printUrl, {async : true}); var template = new PrintTemplate(); if(registry.byId("radioOriPortrait").checked){ if (registry.byId("NurKarteId").checked) { template.layout = "A" + PrintOri + " " + registry.byId("radioOriPortrait").value + " pur"; } else { template.layout = "A" + PrintOri + " " + registry.byId("radioOriPortrait").value; } } if(registry.byId("radioOriLandscape").checked){ if (registry.byId("NurKarteId").checked) { template.layout = "A" + PrintOri + " " + registry.byId("radioOriLandscape").value + " pur"; } else { template.layout = "A" + PrintOri + " " + registry.byId("radioOriLandscape").value; } } template.label = PrintOri; template.format = PrintOutput; template.preserveScale = true; template.outScale = PrintScale; app.template = template; printTask.execute(app, printResult); function printResult(result) { window.open(result.url); } //Print Legend if Checkbox is marked if(registry.byId("LegendeEinAus").checked){ PrintLegend(PrintScale,PrintOri,PrintDPI,PrintOutput); } // close FloatingPane closePrintPane(); }); } Hope this answers your question. If not...feel free to ask. Regards Miriam
... View more
12-04-2015
01:56 AM
|
1
|
0
|
372
|
POST
|
Hello Steve! Your suggestion did it! Now i can Print the Map on one Side an the Legend is printed on a second separate Page. After the Map is printed i call the printtask.execute a second Time and call the Legend_Layout without the Map. Works perfect. Regards, Miriam
... View more
12-02-2015
01:18 AM
|
1
|
1
|
1790
|
Title | Kudos | Posted |
---|---|---|
1 | 12-04-2015 01:56 AM | |
1 | 02-25-2016 04:30 AM | |
1 | 09-26-2016 01:39 AM | |
1 | 02-29-2016 04:31 AM | |
1 | 03-01-2016 04:42 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|