|
POST
|
I know there is nothing close to working I was just showing the code I had... I was wondering if I could use the from_offset and to_offset fields from that parameter to generate my line. I was thinking of using the measured shape from the gp service to return the corridor name and then the linear offset..
... View more
08-26-2015
12:58 PM
|
0
|
54
|
1861
|
|
POST
|
Robert, Sorry once again I was as clear as mud.. I could have put a little more detail into what I'm trying to accomplish. I have a GP service that creates a route event layer. It has a corridor name and from and to offset fields. The user will enter the coordinate and mile post offset and I want it to return a simpleLine graphic. Here is what I have so far. Robert, Sorry once again I was as clear as mud.. I could have put a little more detail into what I'm trying to accomplish. I have a GP service that creates a route event layer. It has a corridor name and from and to offset fields. The user will enter the coordinate and mile post offset and I want it to return a simpleLine graphic. Here is what I have so far.
... View more
08-26-2015
11:40 AM
|
0
|
56
|
1861
|
|
POST
|
I'm wondering if anyone has generated a simpleLine Symbol in WAB. I'm wanting to pass a start and end location offset and return a line symbol from the entered values. does anyone know of an example out there to look at? TIA
... View more
08-26-2015
08:54 AM
|
0
|
58
|
11613
|
|
POST
|
Robert, Thanks for all of your help, I was able to get the widget working correctly.. Thanks for your patience.
... View more
08-25-2015
03:13 PM
|
0
|
0
|
522
|
|
POST
|
Robert, I tried that but I can’t seem to get it to work.. Do you have a second to look at it?
... View more
08-25-2015
07:49 AM
|
0
|
2
|
522
|
|
POST
|
Robert, I was able to return my array but now see the importance of CSS.. What would be a better way to bring in the results other then a div with an id?
... View more
08-24-2015
02:54 PM
|
0
|
0
|
1031
|
|
POST
|
Ok thank you, I get it now.. I just needed to add the following so that it would zoom to the selected location. this.maxZoom = this.map.getMaxZoom(); this.map.centerAndZoom(graphic.geometry, this.maxZoom - 1); Thank you..
... View more
08-24-2015
07:45 AM
|
0
|
0
|
1031
|
|
POST
|
I thought this would work but I get a “Object doesn’t support this action” error.. _onlatlongClicked: function (evt) { this.map.graphics.clear(); var pointSymbol = new SimpleMarkerSymbol(); pointSymbol.setSize(14); pointSymbol.setOutline(new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new Color(), 1)); pointSymbol.setColor(new Color()); var graphic = new Graphic(evt.mapPoint, pointSymbol); this.map.graphics.add(graphic); var point = ; var locPoint = new LocPoint(); locPoint.point = point; var Lat = this.LatTextBox.value, Long = this.LongTextBox.value, LocPoint = new Point(Long, Lat), mp = { mapPoint: LocPoint }; this.executeGP(mp); },
... View more
08-24-2015
07:19 AM
|
0
|
2
|
1031
|
|
POST
|
I was wanting to have it so that if they clicked on the map the graphic is created (which it does now) and if the user enters the coordinates into the textbox and clicks get location the map zooms to the entered coordinate.. I’m working on the return table for the information returned from the GP service. I would like the table to return something that says no offset information available if the coordinates they entered do not land within the 50 feet of the route but stumped on that..
... View more
08-24-2015
06:25 AM
|
0
|
10
|
1031
|
|
POST
|
Can I add a create graphic and zoom to it within the _onlatlongClicked function? Or do I need to create a separate function to perform that?
... View more
08-24-2015
05:57 AM
|
0
|
12
|
1031
|
|
POST
|
Ok, so I made some changes to the wdget.js file. I was hoping you had a minute to look at it. I know I’m missing something. I was thinking the getPointValues function would get the coordinated from the textbox. Then when latlong was clicked it would plot the point and run the evt function. I was also hoping you could explain the JSLint Problems that are listed. I show 43 errors. But some of them don’t make sense to me. Like the first one says “ Expected 'dojo/_base/declare' at column 5, not column 3. 'dojo/_base/declare', “ there are actually several like that. Do I disregard these?
... View more
08-21-2015
06:36 AM
|
0
|
14
|
1972
|
|
POST
|
I can’t figure out what class to call to make the position of the textbox to be centered and aligned.. Is it? dijit dijitReset dijitInline dijitLeft dijitTextBox
... View more
08-20-2015
12:42 PM
|
0
|
1
|
1972
|
|
POST
|
Robert, I added a couple of textbox's that the user will enter the coordinates in. If I want to align those textbox's do I perform that in the html or the css? I see the style="width: 10em;" <input id="LatTextBox" data-dojo-type="dijit/form/TextBox" value="this is lat value" placeholder="47.063616320200374" data-dojo-attach-point="LatTextBox" data-dojo-props="intermediateChanges:true, "style="width: 10em;" >
... View more
08-20-2015
09:42 AM
|
0
|
18
|
1972
|
|
POST
|
Thank you so much!! I can start to see the logic now. :I was just starting with the map click event, my goal is to be able to have the user enter a set of coordinates and lick a button and be taken to that location and show them the return value for the route in the output tab. I would guess I would use dojogrid for that but need to learn that as well. Which leads me to apologize for not telling you the return data is offset information. So if you were to click on any route it returns our corridor route and offset. So my goal is to get this working for Lat/Long and then for the other two tabs. On a side not I did install the plugins for brackets like you said I should do. I have read the getting started with brackets, seems like it will be a powerful tool when I learn how to use it. So do the plugins automatically run when they are installed?
... View more
08-20-2015
05:29 AM
|
0
|
20
|
1972
|
|
POST
|
ok I will try and download them and see what I can find. Thank you..
... View more
08-19-2015
03:59 PM
|
0
|
22
|
1972
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-19-2015 02:57 PM | |
| 1 | 03-10-2016 08:36 AM | |
| 1 | 03-10-2016 09:00 AM | |
| 1 | 07-16-2015 01:15 PM | |
| 1 | 09-14-2015 06:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:25 AM
|