POST
|
I would like to start using the Directions Widget in my viewer again. At this time I can select a start and end point, but then I'm prompted for a username/password. That's not a problem for me, as I have an account, but the Viewer I have developed is used primarily for emergency response, so not all users will have a username/password nor will they really have time to create one on the fly when directions would be needed. My questions is, is there anyway to add something akin to a token to whatever the default service is that used to generate the directions? Thank you
... View more
09-11-2014
09:56 AM
|
0
|
3
|
2535
|
POST
|
That cleared up the error. Thanks to the assistance. It's still not changing my symbololgy, but I think I still need to do a litte research. Thanks again
... View more
12-13-2013
05:39 AM
|
0
|
0
|
82
|
POST
|
I'm recieving errpr 1046: Type wasnot found or was not a compile-time constant: LayerEvent Do I need to add a line to the "import" secton at the beginning of the .as? Here is what I have I copied it straight from your previous post: private static function createGeoRSSLayer(layerCreationProperties:LayerCreationProperties):GeoRSSLayer
{
var geoRSSLayer:GeoRSSLayer = new GeoRSSLayer(layerCreationProperties.url);
geoRSSLayer.alpha = layerCreationProperties.alpha;
geoRSSLayer.id = layerCreationProperties.label;
geoRSSLayer.name = layerCreationProperties.label;
geoRSSLayer.disableClientCaching = layerCreationProperties.disableClientCaching;
geoRSSLayer.showInLegend = layerCreationProperties.showInLegend;
geoRSSLayer.visible = layerCreationProperties.visible;
if (layerCreationProperties.renderer)
{
geoRSSLayer.addEventListener(LayerEvent.LOAD,function loadSymbol(event:LayerEvent):void{FeatureLayer(geoRSSLayer.featureLayers[0]).renderer = layerCreationProperties.renderer;});
}
if (layerCreationProperties.copyright != null)
{
geoRSSLayer.copyright = layerCreationProperties.copyright;
}
if (layerCreationProperties.serviceURL)
{
geoRSSLayer.serviceURL = layerCreationProperties.serviceURL;
}
if (!isNaN(layerCreationProperties.minScale))
{
geoRSSLayer.minScale = layerCreationProperties.minScale;
}
if (!isNaN(layerCreationProperties.maxScale))
{
geoRSSLayer.maxScale = layerCreationProperties.maxScale;
}
if (layerCreationProperties.markerSymbol)
{
geoRSSLayer.pointSymbol = layerCreationProperties.markerSymbol;
}
if (layerCreationProperties.lineSymbol)
{
geoRSSLayer.polylineSymbol = layerCreationProperties.lineSymbol;
}
if (layerCreationProperties.fillSymbol)
{
geoRSSLayer.polygonSymbol = layerCreationProperties.fillSymbol;
}
return geoRSSLayer;
} Thanks again
... View more
12-12-2013
08:08 AM
|
0
|
0
|
613
|
POST
|
R, I'm working with Flex 3.4, will I need to make the changes to the LayerCreater.as you suggested in the previous posts in order for it to work correctly? Thanks
... View more
12-12-2013
07:26 AM
|
0
|
0
|
613
|
POST
|
I'm attempting to do something similar to a GeoRSS feed that I'm working with. The difference with mine is that I'm attempting to use the UniqueValueRenderer because there are a large number of values that can be used to identify symbols. I've been successful using this function in the past on published services, however I'm not having any luck using it with a GeoRSS feed. I believe that my issue is that I don't know the name of the field that the values would come from, but I am unsure. Should the UniqueValueRenderer work correctly with a GeoRSS feed or am I wasting my time working on this solution. Thanks
... View more
12-12-2013
07:09 AM
|
0
|
0
|
613
|
POST
|
I'm attempting to publush/update services to a GIS server that i have been using for several years. Recently when I attempt to do so, the page does not open correctly, or should I say, to it's full extent (see image). I'm using IE9 and do not have permissions to use other web browsers. Can anyone help me figure out the issue I'm having and how to go about fixing it? Thank you
... View more
11-14-2013
08:49 AM
|
0
|
2
|
544
|
POST
|
I'm working on flex 3.4 and I am in the process of republishing services I have created in the past to a more local server. However, when I plug in the URL into the config.xml i recieve the attached error. I initally thought that it was a token issue, but when I generated the token, all my TOC/layerlists stopped working all together. I'm stuck as far as how to address this issue. I am in contact with the host of the GIS Server, so if there are changes that need to be made there I am able to contact them. I am just not sure what to do. Thanks for any assistance you can provide.
... View more
10-17-2013
12:13 PM
|
0
|
0
|
312
|
POST
|
I'm attempting to incorporate services from http://nowcoast.noaa.gov. I've been able to work through my issues getting them to display. My question now is that I am able to view the graphics/polygons with no issue, but there's really no explanation as to what each means without having to do some research. is there a way to incorporate a legend that populates on the screen when the layers are activated? I've seen a few previous posts referencing use of the STATIC IMAGE widget, but in my experience, that image is always on the screen and not capable of being deactivaed. Does anyone have any possible solutions for this? This seems like it should be relatively simple to fix, but I cannot find a solution. Thanks
... View more
07-22-2013
07:34 AM
|
0
|
1
|
620
|
POST
|
I've been working with the server host and we believe that the issue has to do with the certificates not matching up. They are looking for ways to get a copy of the certificate to me to install on my server, but are unsure if that's possible. In the meantime, is there anyway to account for certificate errors in the source code similarly to the way tokens are used for username and passwords? This may eliminate similar issues in the future as well. Thanks
... View more
06-18-2013
09:41 AM
|
0
|
0
|
214
|
POST
|
I'm not the host of the server, but I believe that it's 9.3 since I have to use the uniquevaluerenderer to differentiate between symbology. I've already spoken to the host of the server and the settings have been changed for long lived tokens. And the duration of the tokens is NOT consistant. Sometimes they last a few hours, other times a few min, and still other times they do not work at all. I'm really not sure what else to try to correct this issue.
... View more
06-18-2013
05:29 AM
|
0
|
0
|
214
|
POST
|
I'm currently attempting to access a secured REST service using Flex 2.5. I've generated several tokens and initially they seem to work just fine. Then at some point they appear to not be valid any longer. I've set the expiration to 365 Days also tried 525600 Min (which is the equivilent of 365 days). As there doesn't appear to be any set pattern as to when the token expires, I've been trying many different possible solutions, all of which have been unsuccessful. I've had the Host of the server check thier options for long term tokens and it's set correctly. I've tried using different combinations of times that are equivelant to 365 days (thus the 525600 minutes). Looked into the crossdomain.xml, but if I'm understanding correctly that would be on the server end and not the user. And since I'm told other people are able to use this service without issue, I doubt its the crossdomain.xml. I'm attached a copy of the error that I'm recieving. If anyone can think of any other possible solutions, I would much appreciate the assistance. Thanks
... View more
06-17-2013
11:35 AM
|
0
|
5
|
441
|
POST
|
var uvVal1:UniqueValueInfo = new UniqueValueInfo(picSymbol,"HMV");
infoArr.push(uvVal1);
var uvVal2:UniqueValueInfo = new UniqueValueInfo(picSymbol,"Transport");
infoArr.push(uvVal1); Should the "picSymobol" for Transport read "picSymbol2" as to identify a separate icon for a different value? Ultimately I'm just not sure how to assign separate icons to different values in the "TYPE" attribute. Thanks
... View more
05-15-2013
11:13 AM
|
0
|
0
|
309
|
POST
|
Rob, As far the popups, I verified that all the fields are accurate. However, when I click on them, the window does not open. Is this an issue again with the server being 9.3? or does it have to deal with the fact that its secure? Thanks again.
... View more
05-15-2013
08:46 AM
|
0
|
0
|
309
|
POST
|
Rob, Yes I have been working in FlashBuilder on the source code this whole time. Please let me know what I need to do. Thanks
... View more
05-15-2013
08:40 AM
|
0
|
0
|
309
|
Online Status |
Offline
|
Date Last Visited |
02-09-2023
08:37 PM
|