POST
|
I have a web service that resides in a secured directory. Right now the webservice in livemaps shows it not connected. is there a way to have just that one webservice when clicked ask for username and password. Bobby If you can do authentication, it will work fine...give it a try..i am sure it can be done. two years ago when i was new in this world, i can recall putting password for my services but i am pretty sure its doable.
... View more
06-03-2010
02:36 AM
|
0
|
0
|
128
|
POST
|
I have a need to view my maps in the Flex Viewer (or are we calling it Flash Viewer now?) in UTM 11N. I need the data from the MGRS to be correct and that is projected to UTM. Printed maps will be used to navigate using the MGRS. However, the basemap (ESRI StreetMap, etc) is the WGS 84 projection. How would this best / most easily be handled? Thanks in advance... Brad All the new services from ESRI are in web mercator. WGS 84 will phase out in near future. Easiest way is to use your own base maps and then you do not need to worry about projection issues. Although, if you want to use ESRI's base maps, you can use your dynamic map layers and server will reproject them on fly to web mercator and you will be fine but you can not do this if your map services are cached. Bottom line is as long as your data is dynamic, it is not an issue and it will display
... View more
06-03-2010
02:34 AM
|
0
|
0
|
644
|
POST
|
I am simply trying to retrieve data from the db table based on an ID. the following is my HTTPService code <!-- ///////////////////////////////////////////////////////////////////////////// --> <mx:HTTPService id="hsID" url="http://data.cmap.illinois.gov/ws/tip/tipservice.asmx/getproject" showBusyCursor="true" requestTimeout="120" fault="showAlert(event)"/> <!-- ///////////////////////////////////////////////////////////////////////////// --> This service is working great when I type in the ID but when I use the InfoSymbol - infoRenderer - Component it doesn't see the service and I can't put the code inside of the component. Hope that answers your question To me, it look like you are trying to access a web service, so instead of using HTTP service, you need to use web service request. something like this [HTML]<?xm l version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" minHeight="768" xmlns:employeesservice="services.employeesservice.*" xmlns:valueObjects="valueObjects.*"> <fx:Declarations> <s:WebService id="RestaurantSvc" wsdl="http://examples.adobe.com/flex3app/restaurant_ws/RestaurantWS.xml?wsdl" /> <s:CallResponder id="getRestaurantsResult" result="restaurants = getRestaurantsResult.lastResult as Restaurant"/> </fx:Declarations> <fx:Script> <![CDATA[ import mx.controls.Alert; protected function b1_clickHandler(event:MouseEvent):void { getRestaurantsResult.token = RestaurantWS.getRestaurantss(); } ]]> </fx:Script> . . . <s:Button id="b1" label="GetRestaurants" click="button_clickHandler(event)"/> [/HTML] I hope it will work. Thanks Zahid
... View more
06-02-2010
11:47 AM
|
0
|
0
|
364
|
POST
|
I didn't see anything specifically mentioning this, but does the newest Flex API and ArcGIS Server 10 allow for the use of the Google Maps base map? My guess is that it doesn't, but I'd like to make sure. Thanks, Jonathan Harahush Google released Google Maps API for Flash that you can use in Adobe Flex environment to create base map. here is the url to download API. http://code.google.com/apis/maps/documentation/flash/ As far as integration with Flex API from ESRI, I haven't tried yet but i think after looking at ESRI javascript API for Google, its pretty easy to mash em up... Zahid
... View more
06-01-2010
09:00 AM
|
0
|
0
|
181
|
POST
|
http://zachsgeospatial.blogspot.com/2010/06/esri-map-services-and-google-elevation.html Zahid
... View more
06-01-2010
06:40 AM
|
0
|
0
|
625
|
POST
|
http://zachsgeospatial.blogspot.com/2010/05/gpx-loader-for-arcgis-server-based-web.html
... View more
05-15-2010
04:42 AM
|
0
|
0
|
399
|
POST
|
Hi all, I am a novice to use Flex SDK 4 & ArcGIS API for Flex 2.0 beta. Please understand my situation although you feel my question sounds like a stupid or weird question . When I tried to execute one sample (Time rendered 5K run) in Time-aware layers section (from http://help.arcgis.com/en/webapi/flex/samples/index.html), I just realized that I need a 'activity_9067441.gpx' file. Can anyone tell me how to get / download the gpx file (or entire sample files) ? Thanks, Monspo1 Look at my blog and you will find it interesting that how can you map *.gpx on ESRI ArcGIS Map Services... I am planning to upload codes but i can not upload anything to code gallery? still waiting. But you will like this http://zachsgeospatial.blogspot.com/ Thanks Zahid
... View more
05-07-2010
08:27 AM
|
0
|
0
|
399
|
POST
|
Flex viewer let you do that. so i know its possible. give a look at flex viewer's codes. I was planning to do something similar but dont have time but it is possible. If flex viewer can do it, any body can do it... Zahid http://zachsgeospatial.blogspot.com
... View more
05-06-2010
02:50 AM
|
0
|
0
|
186
|
POST
|
Heres something you can do in actionscript
private function onMouseClick(event:mouseEvent):void{
var mygraphic:Graphic = event.currentTarget as Graphic;
if (mygraphic){
var myMapPoint:Mappoint = Mappoint (mygraphic.geometry);
var lat:number = myMapPoint.y;
var lon:number = myMapPoint.x;
}}
I havent got chance to test, but i know it will work (may be little bit tunning need because of upper/lower case letter and spellings) - hope it will help Zahid http://zachsgeospatial.blogspot.com
... View more
05-06-2010
02:43 AM
|
0
|
0
|
291
|
POST
|
Sorry i forgot to add the link. but here it http://www.adobe.com/devnet/flex/articles/flashbuilder4_php_code.html Thanks Zahid
... View more
05-03-2010
09:43 AM
|
0
|
0
|
1795
|
POST
|
Easiest way, will be to publish elevation data as a map service and then query it on MapClick event and get z-value. you will use your mapPoint to query your elevation layer..I havent tried this idea yet, but i know its possible as i did something similar before Thanks Zahid
... View more
04-30-2010
11:12 AM
|
0
|
0
|
625
|
POST
|
We implemented that using PHP and it is working fine. here is the url of app http://gisonline.dep.wv.gov/trydam/ All you need to do is create two states one is application state and one login state. in Login state do a http service request using php and if php returns and authenticate username/pword, you can change state to application state else show alert or something... I have seen with sample flex viewer same thing but never tried. You can add a titlewindow in the beginning of the app (so many people are using it for disclaimer so wont be hard to implement) that sends a http request and authenticate user..
... View more
04-30-2010
07:33 AM
|
0
|
0
|
302
|
POST
|
Thanks for the posting.. can you share you code? Here is a link to a video, that will explain step by step process to conncet to SQL server using php and FLEX I hope it will help
... View more
04-30-2010
05:19 AM
|
0
|
0
|
1795
|
POST
|
I don't know that anybody tried or not but i been trying to upload to code gallery and cannot get it working. it is giving me a server error and try later message
... View more
04-30-2010
05:16 AM
|
0
|
0
|
358
|
POST
|
I totally agreed with Robert. In my opinion, its not even practical to display z value on mouse move as it will make your application so slow because of server client traffic that its almost useless. The best way, you can engineer (my Personal opinion not an expert advice) is by adding a map click event and where ever you click get the Z value of that point coming from a map service layer which has that value
... View more
04-30-2010
05:14 AM
|
0
|
0
|
625
|
Title | Kudos | Posted |
---|---|---|
27 | 01-25-2013 10:51 AM | |
27 | 01-25-2013 10:51 AM | |
10 | 04-16-2010 01:00 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|