|
POST
|
Hello guys, I'm trying to develop a mobile app whit a webmap develop on arcgis online. I'm using jquery mobile, and the example on the resource center to load the Webmap id. The map is public and visible. This is my code. [HTML] <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Applicazione Web jQuery Mobile</title> <link href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" rel="stylesheet" type="text/css"/> <script src="http://code.jquery.com/jquery-1.6.4.min.js" type="text/javascript"></script> <script src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js" type="text/javascript"></script> <script>var dojoConfig = { parseOnLoad:true };</script> <script src="http://serverapi.arcgisonline.com/jsapi/arcgis/3.4compact/"></script> <script> dojo.require("esri.map"); dojo.require("esri.arcgis.utils"); dojo.require("esri.dijit.Legend"); var map; function init(){ var webmapid = "be09dc6776a34a63aae0c4ad9c9a6cca"; esri.arcgis.utils.createMap(webmapid, "mapDiv").then(function(response){ map = response.map; var legend = new esri.dijit.Legend({ map:map, layerInfos:(esri.arcgis.utils.getLegendLayers(response)) },"legendDiv"); legend.startup(); }); } dojo.ready(init); </script> </head> <body> <div data-role="page" id="page"> <div data-role="header"> <h1>Pagina uno</h1> </div> <div data-role="content"> <div id="mapDiv" style="height:380px"></div> </div> <div data-role="footer" data-position="fixed"> <h4>Piè di pagina</h4> </div> </div> </body> </html> [/HTML] When i run the project using Dreamweaver the map don't load. I do not understand why the map is not loaded. Can you help me please? thanks and regards
... View more
05-03-2013
02:45 AM
|
0
|
2
|
851
|
|
POST
|
thanks, but i don't found this method in toc.m is there any example to see? thanks
... View more
01-17-2013
04:39 AM
|
0
|
0
|
476
|
|
POST
|
Hy guys, i saw the TOC Sample that i download. When i run the project all layer are ON. If i would like that all layer are OFF when i open the project? What is the parameter to be changed? Help please Thanks
... View more
01-16-2013
12:23 PM
|
0
|
3
|
724
|
|
POST
|
Hi guys, I upgraded my xcode to version 4.5.2. and following all the steps to install the latest version of the SDK I have two errors. As first when i install the sdk does not create the path: $(HOME)/Library/SDKs/ArcGIS/iOS/, but all element are in this path: $(HOME)/SDKs/ArcGIS; this is the first error the second error after adding the string: -all_load -ObjC -framework ArcGIS if I try to launch an empty project i have this error: linker command failed with exit code 1(use -v to see invocation) Why this error? first the upgrade of my xcode i don't have any error. I removed the armv7s entry (if it exists) from the Valid Architectures, but the error it's the same. Any help please
... View more
01-16-2013
06:25 AM
|
0
|
2
|
1039
|
|
POST
|
Hi guys i have a problem. I have a WMS Service that has been published with a product of Intergrapfh. This is the wms service: http://xx.xxx.xxx.xx/reflector/service?map=mywms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities and i add this service in flex viewer with this method. In config.xml i add the string [HTML] <layer label="NRCan" type="wms" skipgetcapabilities="true" version="1.1.0" wkid="102100" url="http://xx.xxx.xxx.xx/reflector/service?map=mywms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities" visible="true" visiblelayers="Satellite"/> [/HTML] but when i run the application the wms it's not visibile. Any help is great Thanks
... View more
11-23-2012
04:22 AM
|
0
|
1
|
2195
|
|
POST
|
hi guys, i'm trying to use the chart widget. Hi saw the tag example on the Help but i have a problem with the layout of chart. if i set the config file in this way [HTML] <configuration> <labels> <layerselectionlabel>Select layer</layerselectionlabel> <drawtoolmenulabel>Select draw tool</drawtoolmenulabel> </labels> <layers> <layer label="TRATTE" url="http://win-n4lcjvs1eib:6080/arcgis/rest/services/RFI/MDR/MapServer/1"> <labelfield>OR_ID</labelfield> <fields> <field name="OR_ID"/> <field name="STATO_SISTEMA"/> </fields> <medias> <media caption="{=COUNT}" chartfields="STATO_SISTEMA" title="STATO SISTEMA TRATTE" type="linechart"/> </medias> </layer> </configuration> [/HTML] i don't see the line chart. i see only the respons of count but not the chart. Any help? thanks
... View more
11-07-2012
01:23 AM
|
0
|
0
|
1966
|
|
POST
|
thanks MDruzgala, without "s"........ no maps 😄 But i don't see the thumbnails can you helpme? Thanks
... View more
11-06-2012
01:03 AM
|
0
|
0
|
561
|
|
POST
|
Hi guys, i have a problem with MapSwitcher widget. With this widget i see all basemap of arcgis online. I would like to see not all base map and so i changed the config.xml file in this way[HTML] <map esrilogovisible="false" wraparound180="true" initialextent="-68000 4653000 2867000 5553000" fullextent="-1659000 4357000 4211000 6157000" top="0" addarcgisbasemaps="false"> <basemap> <layer label="Streets" type="tiled" visible="true" alpha="1" url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/> <layer label="Aerial" type="tiled" visible="false" alpha="1" url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"/> <layer label="Topo" type="tiled" visible="false" alpha="1" url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/> </basemap> [/HTML] i set addarcgisbasemap on false and insert tree basmap, but when i run my webapp i don't see a map. Any help please? Goodbye
... View more
11-06-2012
12:20 AM
|
0
|
4
|
908
|
|
POST
|
hi guys, it is some time I'm trying to develop mobile applications with api flex 3.0 in flash builder 4.6. I created a form containing layers and i use checkbox for on / off example:
<esri:Map extent="{initialExtent}" wrapAround180="true" zoomSliderVisible="false" id="myMap">
<esri:ArcGISTiledMapServiceLayer url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/>
<esri:ArcGISDynamicMapServiceLayer url="http://xxxxxxxxxxxxxxx/ArcGIS/rest/services/xxxxxxxxxxxx/MapServer" visible="{Prost.selected}"
alpha="{layer1.value}"/>
</esri:Map>
<s:TitleWindow x="415" y="327" width="334" height="230" backgroundAlpha="0.5" contentBackgroundAlpha="0.5" title="Layer" id="layerToc" close="layerToc.visible=false">
<s:CheckBox id="Prost" selected="false" label="P" x="8" y="5" fontWeight="bold" color="#FFFFFF"/>
<s:HSlider x="16" y="45" width="248" height="26" id="layer1" minimum="0" maximum="1" value="1" snapInterval=".01"/>
</s:TitleWindow>
<s:Form x="12" y="411" width="63" height="179" backgroundAlpha="0.5">
<s:Button width="38" height="42" icon="assets/i_legend2.png" label="Layer" id="layerPanel"
click="layerToc.visible ? layerToc.visible=false: layerToc.visible=true"/>
Now i would like to create a toc layer in a different view but using this way of working I can not move the display of layers from one view to another. can anyone help me or direct me on a few examples to study? Thanks goodbye
... View more
10-29-2012
09:36 AM
|
0
|
0
|
578
|
|
POST
|
ocwagis good work. In the past i used the go electric demo and implemented only find place in flexviewer 2.3.1 but now with flexviewer 3.0 i have some error. So good work
... View more
10-12-2012
11:49 AM
|
0
|
0
|
1086
|
|
POST
|
Thanks Bjorn! When this new release Willi be available?
... View more
10-11-2012
10:33 PM
|
0
|
0
|
1086
|
|
POST
|
Hi guys, i'm trying to change the general layout of the viewer. I saw the custom header controller widget of GoElectric demo and the find place is fantastic. There is any code example to implemented the flexviewer 3.0 with find place positioned in the bar HeaderContrellerWidget? Any help good Thanks guys
... View more
10-11-2012
07:34 AM
|
0
|
7
|
1302
|
|
POST
|
Hi guys, i have any feature classes with relationship class. Hi need to import more data in the feature classes. Now i have a question. Is there a python script or geoprocessing tool for automatic import without breaking the relationship classes? Or a script for automatic import data? Thanks Bye
... View more
05-12-2012
07:55 AM
|
0
|
0
|
637
|
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|