POST
|
I'm guessing the answer is still no and I'm guessing it is still not planned. I have a requirement to output an image of the final map for the user to save. The map has a tile base with overlays of contour lines generated by our application. As the application will be run deployed (server and client on a laptop) we don't want to have to build/maintain an ArcGIS 10.1 box just for the purpose of allowing the print service (our tiles are static on our web server). Simple cannot justify it on cost alone. A simple way to simply output a JPEG/PNG of what the map is showing would be great. A "native" to ESRI JS API "screenshot" is all. Any plans? Any real reason why not? It's a little frustrating. "Get away from native desktop apps., go Web 2.0" they said. So we started using Flex/Flash which can do these sort of things clientside. "Get away from Flash/Flex, move to HTML5, it's the future" they said. Now look, we are trying to do desktop type work on a web type app. Can you explain this to your managers, nope. :mad: Cheers Ian
... View more
06-20-2013
06:48 AM
|
0
|
18
|
18312
|
POST
|
Just been through this myself but came from a Flex/Flash background. If you are only building ESRI JS API based apps, then as Derek suggests. However, if you are building more general applications with a bit of mapping, can I suggest you doing the following: 1. Learn HTML5 first (HTML + CSS + JS). Not the whole thing, but enough for basic applications. 2. Introduce Dojo. Again, not the whole thing, but enough to get basic applications working so insulate yourself from browser differences and so also understand the new (ish) AMD way of doing things. I would say a firm understanding of Dojo is probably the most important part overall. 3. Then introduce ESRI JS API which I think of being plain old Dojo but with ESRI maps too. Cheers Ian
... View more
06-20-2013
06:34 AM
|
0
|
0
|
208
|
POST
|
Can we have a new layer type that will take an image and stretch-draw it onto a basemap? I currently use: http://thunderheadxpler.blogspot.com/2009/02/ground-overlays-on-maps.html to draw images correctly on wkid:4326 Geographic maps just fine. But as we move to more Web Mercator basemaps maybe it is time to have a layer that can do this correctly for web mercator base maps with geographic images without needing any backend services. Many of my apps are used on closed networks and sometime totally deployed on a laptop, so no chance of having a backend to help. Google had it in their Maps API for Flash and it worked well. You could take an image that was geographic and given the right parameters would draw it correctly on a web mercator map, including stretching the right amount depending on latitude throughout the image. Cheers Ian
... View more
11-11-2011
07:24 AM
|
0
|
3
|
525
|
POST
|
Hi Carmen, I cannot say why this is happening, but can confirm it is doing so. Safari browser on Mac, running Flash Player 10,2,161,22 Cheers Ian
... View more
11-03-2011
01:54 AM
|
0
|
0
|
216
|
POST
|
Omega_Cancer, Not sure 100% what it is you need, but you may find the following links useful. Not exactly what you desire but it is a start. I haven't yet used it in anger myself on an ESRI map, but plan to in the near future. Main page: http://code.google.com/p/flexiweather/ Demo of curves/symbols: https://ogcie.iblsoft.com/FlexiWeather/trunk/Examples/Example2.swf Of course, if ESRI would like to add this kind of capability to the ESRI Flex API, that would be great 😉 Cheers Ian
... View more
10-06-2011
11:43 PM
|
0
|
0
|
366
|
POST
|
Really love this new basemap but there does seem to be a problem with the extents given by the MapServer service. If we look at at World Topo basemap (http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer) you will see that the Full Extent is given as: Full Extent: XMin: -20037507.0671618 YMin: -19971868.8804086 XMax: 20037507.0671618 YMax: 19971868.8804086 Spatial Reference: 102100 (3857) You'll see you get the same for World Street, World Terrain etc. However, for Ocean Basemap (http://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer) you get the following: Full Extent: XMin: -22041259.1770665 YMin: -33265069.1542242 XMax: 22041259.1770665 YMax: 33265069.1542243 Spatial Reference: 102100 (3857) So if you load Ocean Basemap into a new Flex application (etc.) the JSON reports this Full Extent and when the user pans "off the edge of the world", you get lots of failed tile requests, because they don't exist but the map viewer clears a large enough area for the new tiles which makes it look clunky. Only way around it at the moment is to define your primary basemap as one of the ones that does work then overlay the Ocean Basemap over the top. Not ideal as doubles tile requests/bandwidth Any chance this can be fixed? Cheers Ian (ian.watkins@metoffice.gov.uk)
... View more
09-28-2011
05:11 AM
|
0
|
1
|
443
|
POST
|
I would agree, it's a real shame that the Flex API cannot deal with the KML/KMZ directly without having to use an external call. I'm also in the same situation where I have sensitive information that cannot be used externally. In fact, the whole reason we went with the ESRI Flex API was that it didn't require internet access like the Google API does. Yes, we could use ArcGIS Portal, but do we really want all that on the server just to deal with KML? I doubt that would fly. No all our Flex apps use an ArcGIS backend, in fact many use very lightweight webservers/webservices. So could the developers on the API please consider this decision? Cheers Ian
... View more
08-22-2011
12:39 AM
|
0
|
0
|
111
|
POST
|
So guess you need to toggle between those two sets? Any clues how to do that? Editor manages it it, but EditTool doesn't automatically. Scratch that, found it in another sample. For those interested see: http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=EditTools Cheers Ian
... View more
04-20-2011
01:41 AM
|
0
|
0
|
194
|
POST
|
Hey Sarthak, Thank you for that. I've tried turning off the Editor.update... etc. but you still get the InfoWindow. Any chance a simple Editor.showAttributes boolean toggle could be added? In the meantime I've taken a look at the sample you suggest and that will do the trick nicely, thank you. My feature layer will be presented to the user and the only option we want is to allow them to edit the presented polygons (not add or delete any). So I have that working allowing them to EditTool.EDIT_VERTICES | EditTool.MOVE which works fine, but would also like to allow them to use EditTool.ROTATE | EditTool.SCALE as well but adding them in doesn't work using the following in the layerClickHandler: editTool.activate(EditTool.EDIT_VERTICES | EditTool.MOVE | EditTool.ROTATE | EditTool.SCALE, [ selectedGraphic ]); So guess you need to toggle between those two sets? Any clues how to do that? Editor manages it it, but EditTool doesn't automatically. Cheers Ian
... View more
04-20-2011
12:09 AM
|
0
|
0
|
194
|
POST
|
Hi All, Starting some work with the new 2.3 API. Working on an app using this sample as my starting point: http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=EditorBasic When you first click an existing polygon, you get the edit markers for each vertex, but you also get the InfoWindow popping up that contains attibute information. How do you get the InfoWindow *not* to pop-up? Cheers Ian
... View more
04-19-2011
03:57 AM
|
0
|
3
|
963
|
POST
|
Thx for reply but this doesn't resolve my problem. I tried doing the above steps in 2 other PC running window 7 with Flex Builder 3 and the exact error messages still occurs when I am trying to create a new project and add ArcGIS API swf to it... I am trying to integrate ArcGIS into my flex product to replace the google map I used before. Can anyone please help me to get this started ? Thanks Alfred Alfred, If I'm reading this right you are using Flex Builder 3 and trying to use the ESRI API version 2.2? I think you'll fine you need to use the ESRI API version 1.3 for Flex Builder 3. Requirements for version 2.2 are here: http://help.arcgis.com/en/webapi/flex/index.html Cheers Ian
... View more
03-09-2011
07:55 AM
|
0
|
0
|
458
|
POST
|
Please note, Flex Viewer, widgets and all that stuff has it's own forum. You will get a better response by posting there: http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex This forum is for the Flex API only.
... View more
02-15-2011
05:12 AM
|
0
|
0
|
105
|
POST
|
Please note, Flex Viewer, widgets and all that stuff has it's own forum. You will get a better response by posting there: http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex This forum is for the Flex API. Thank you Ian
... View more
02-15-2011
05:10 AM
|
0
|
0
|
285
|
POST
|
One option may be to add the extra parameters to the url you set on the WMSLayer since extra params are passed on in the requests the WMSLayer makes to the server. e.g. http://sampleserver1.arcgisonline.com/arcgis/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?foo=bar Thanks Dasa, That would work, but would need to know the possible values for "foo" from the GetCapabilities before I presented them to the user to choose one value before adding it to the url for the WMSLayer. I guess the answer is "not right now" with regards to the WMSLayer. But I think I have a plan: 1. Set up the WMSLayer as normal but use "skipCapabilites=true" 2. Use a HTTPService call to get the XML back from GetCapabilities for the selected service. 3. Parse that to get the available values back for "foo" 4. Allow the user to select the value of "foo" they want. 5. Add that to the URL for WMSLayer as you suggest and trigger it to get the WMS imagery back from the server. Probably not ideal, but would work I think. I'll give it a go over the weekend. ----------------- I guess what I would like to see is for WMSLayer to be extended to allow access to all the information in the returned GetCapabilities for a layer. This way all additional parameters would be accessible in one hit. So as in the example, name and title for the layer would be able to be added directly to a datagrid for selection but also so would other parameters be they 1, 2 or 3 dimensional. (e.g. in our case, data over time and data over elevations) And extension to that would be to allow one of those parameters to be associated with a TimeSlider much like you would with a FeatureLayer etc. Any chance those two possibilities could be fed back to the ideas guys please? Cheers Ian
... View more
02-11-2011
06:07 AM
|
0
|
0
|
196
|
POST
|
Guys, I guess that you have not heard that ESRI is working on this already and hopefully it will be in the next service pack or so for ArcGIS Server. There is also going to be some talks about this at the Dev Summit. I hadn't heard this Robert, but thank you for letting us know. I don't spend a lot of time reading ArcGIS Server blogs or news, so probably missed this. Cheers Ian
... View more
02-10-2011
07:50 AM
|
0
|
0
|
768
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|