|
POST
|
I've been walking through the set up of the election polling places and election results viewer. I have the services published in ArcGIS Online and shared properly. I have been following the set up docs. I have made edits to two files: 1) <your_directory>\ArcGIS Templates\LocalGov\ElectionPollingPlace\Application\ElectionPollingPlace\proxy.config Here I added <serverUrl url="http://services1.arcgis.com/7QrNu8fd9YfU4kzq/arcgis/rest/services/" matchAll="true"></serverUrl> This is the ArcGIS online published service endpoint 2) <your_directory>\ArcGIS Templates\LocalGov\ElectionPollingPlace\Application\ElectionPollingPlace\js\config.js Here I added: // Choose if you want to use WebMap or Map Services for operational layers UseWebmap: true, // if using WebMap, specify WebMapID within quotes, otherwise leave this empty and configure operational layers WebMapId: "6706a58177074f38963240d46dd01218", I am still unable to load the data, the loading icon simply continues to spin. I am sure i have missed something simple, wondered if you might be able to give me a pointer. Thanks Rory
... View more
04-19-2013
04:45 PM
|
0
|
1
|
522
|
|
POST
|
I've been walking through the set up of the election polling places and election results viewer. I have the services published in ArcGIS Online and shared properly. I have been following the set up docs. I have made edits to two files: 1) <your_directory>\ArcGIS Templates\LocalGov\ElectionPollingPlace\Application\ElectionPollingPlace\proxy.config Here I added <serverUrl url="http://services1.arcgis.com/7QrNu8fd9YfU4kzq/arcgis/rest/services/" matchAll="true"></serverUrl> This is the ArcGIS online published service endpoint 2) <your_directory>\ArcGIS Templates\LocalGov\ElectionPollingPlace\Application\ElectionPollingPlace\js\config.js Here I added: // Choose if you want to use WebMap or Map Services for operational layers UseWebmap: true, // if using WebMap, specify WebMapID within quotes, otherwise leave this empty and configure operational layers WebMapId: "6706a58177074f38963240d46dd01218", I am still unable to load the data, the loading icon simply continues to spin. I am sure i have missed something simple, wondered if you might be able to give me a pointer. Thanks Rory
... View more
04-19-2013
04:45 PM
|
0
|
3
|
2639
|
|
POST
|
We presented at this years Dev Summit on offline mobile editing using Mobile Flex. For those interested we have posted the presentation and a demo of the discussed app at the following link: http://www.webmapsolutions.com/difficult-ios-android-offline-arcgis-online-editing --Matt
... View more
04-04-2013
01:01 PM
|
0
|
0
|
631
|
|
POST
|
We presented at this years Dev Summit on offline mobile editing. Though the work was done in Mobile Flex, the same approach could be taken using PhoneGap. Since there were many Javascript developers in the audience, we have posted the presentation and a demo of the discussed app at the following link: http://www.webmapsolutions.com/difficult-ios-android-offline-arcgis-online-editing --Matt
... View more
04-04-2013
12:57 PM
|
0
|
0
|
815
|
|
POST
|
On a mobile I have a feature layer and am trying to move a point feature to my current GPS location. The following is a code snippet. I'm finding the only way I can get the point to reposition is if I refresh() the featurelayer. Is there any way to avoid needing to do this? if(FlexGlobals.topLevelApplication.geoLong != null && FlexGlobals.topLevelApplication.geoLat != null) { //Remove the glow ModelEdit.instance.editor.attributeInspector.activeFeature.filters = []; //Remove attribute inspector okButton.dispatchEvent(new MouseEvent(MouseEvent.CLICK, true, false)); var geoLocateIt:MapPoint = new MapPoint(FlexGlobals.topLevelApplication.geoLong, FlexGlobals.topLevelApplication.geoLat, Model.instance.map.spatialReference); var geoLocateWebMerc:* = WebMercatorUtil.geographicToWebMercator(geoLocateIt); (ModelEdit.instance.editor.attributeInspector.activeFeature.geometry as MapPoint).update(geoLocateWebMerc.x, geoLocateWebMerc.y, Model.instance.map.spatialReference); //HOW DO I AVOID REFRESHING THE FEATURELAYER (ModelEdit.instance.editor.attributeInspector.activeFeature.graphicsLayer as FeatureLayer).refresh(); (ModelEdit.instance.editor.attributeInspector.activeFeature.graphicsLayer as FeatureLayer).applyEdits(null, [ModelEdit.instance.editor.attributeInspector.activeFeature], null); (ModelEdit.instance.editor.attributeInspector.activeFeature.graphicsLayer as FeatureLayer).addEventListener(FeatureLayerEvent.EDITS_COMPLETE, editCompleteHdlr) } Thanks --Rory
... View more
04-01-2013
07:30 AM
|
0
|
2
|
2465
|
|
POST
|
I should have added, I am also following Heathers advice. Thanks all again.
... View more
03-22-2013
11:45 AM
|
0
|
0
|
789
|
|
POST
|
Thanks for the replies all. It was a 3.1 issue. Just grabbed 3.2 and so far all looks good. --Rory
... View more
03-22-2013
11:42 AM
|
0
|
0
|
789
|
|
POST
|
Is there a simple way to hide the default 'Zoom To' button in the InfoWindow. http://www.webmapsolutions.com/blogimg/zoom_to.png We have found in the mobile ArcGIS Online apps we are building this can cause the app to crash. Thanks --Rory
... View more
03-20-2013
06:31 AM
|
0
|
6
|
4093
|
|
POST
|
Performance is something we are closely watching with our mobile ArcGIS development. One challenging area we have found is the editing of complex polygons using the Editor. In the image below, the border indices (allowing for polygon editing) are slow in rendering and panning and zooming are seriously degraded. http://webmapsolutions.com/assets/complexpolygons.jpg Two possible solutions come to mind; simplify the polygons in the app so fewer indices (since we don't always have access to the source data), or remove the ability to edit the actual polygon (no indices). Are either of these approaches possible? Thanks --Rory
... View more
02-04-2013
06:10 AM
|
0
|
1
|
545
|
|
POST
|
We are finding a number of issues with the AttributeInspector in a mobile environment. The textinput width is too wide (see link below), combobox is not mobile enabled (a core Flex issue), we'd like to fix the position of the pop up (fixed at left). http://webmapsolutions.com/assets/attributeinspector.jpg We are using the Editors AttributeInspector, but would like to extend it to provide a custom version to try to get past these issues. Is it possible to extend the Editors AttributeInspector? Thanks --Rory
... View more
02-04-2013
05:30 AM
|
0
|
1
|
2322
|
|
POST
|
To improve the mobile user experience, we would like to anchor the position of the map infowindow. When using: map.infoWindow.setStyle("infoPlacement","bottom"); this sets nicely the initial placement. We'd like this to be permanent. In the javascript api there is the setFixedAnchor method. Is there an equivalent in Flex? Thanks --Rory
... View more
01-30-2013
06:16 AM
|
0
|
2
|
685
|
|
POST
|
Thanks for your help here Yann. I put the following into the code based on your suggestion: var lods2:Array = map.lods; for each (var lod3:LOD in lods2) { trace("map lods " + lod3.toString()); } var lods4 = localTPK.tileInfo.lods; for each (var lod5:LOD in lods4) { trace("tpk lods " + lod5.toString()); } The output looks the same for both the tpk and the map see below: http://webmapsolutions.com/assets/blog/tpklods.jpg http://webmapsolutions.com/assets/blog/maplods.jpg --Rory
... View more
01-30-2013
04:17 AM
|
0
|
0
|
1261
|
|
POST
|
Thanks Yann. Looking forward to 3.2 particularly for our mobile work. --Rory
... View more
01-29-2013
03:17 PM
|
0
|
0
|
352
|
|
POST
|
Thanks for the rely Yann. Should have thought this one through more. Still nudge me a little. I took a look at the tpk generator (share as -> tie package) in ArcMap 10.1 which game me the following: http://webmapsolutions.com/assets/blog/mapunits.jpg From this i replaced my LODs above (possibly mistakenly) with the following and variations: var lods:Array = map.lods; lods.push(new LOD(NaN, 4.777314, 18055.954822)); lods.push(new LOD(NaN, 2.388657, 9027.977411)); lods.push(new LOD(NaN, 1.194329, 4513.988705)); lods.push(new LOD(NaN, 0.597164, 2256.994353)); lods.push(new LOD(NaN, 0.298582, 1128.497176)); map.lods = lods; I'm still not getting to the maximum scale. Looks like it is topping out at around 1:5000. Thx --Rory
... View more
01-29-2013
03:13 PM
|
0
|
0
|
1261
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-16-2015 10:59 AM | |
| 1 | 07-19-2016 02:49 PM | |
| 1 | 08-27-2011 05:35 AM | |
| 1 | 09-16-2014 06:38 AM | |
| 1 | 08-21-2014 01:15 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|