POST
|
HI I am drawing and loading png images using "esri.symbol.PictureMarkerSymbol". How i can drag and drop. There is no example mentioned in http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm i just found loading file CSV in search of drag and drop. but my requirment is simply to drag the image. Thanks Regards, Zeeshan
... View more
09-24-2011
11:43 PM
|
0
|
2
|
794
|
POST
|
Hi i am using the sample link http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm i want to use server controls. But when i use <form runat="server" id="form1"></form>. I cant see the map. <body class="claro"> <form runat="server" id="form1"> <div dojotype="dijit.layout.BorderContainer" design="headline" gutters="false" style="width: 100%; height: 100%; margin: 0;"> <div id="map" dojotype="dijit.layout.ContentPane" region="center" style="border: 1px solid #000; padding: 0;"> </div> </div> </form> </body> </html>. i made an application last year using Arcgis API javascript but could not continue due to some offical approvals. it was working using form tags but now i dont know why. kindly explain the reason and updates. Thanks Regards Zeeshan
... View more
09-13-2011
01:27 AM
|
0
|
1
|
340
|
POST
|
This is not possible. which have purchased ARCGIS Server from Esri to load over GIS data. Regards, Zeeshan
... View more
02-14-2011
08:15 PM
|
0
|
0
|
197
|
POST
|
So finally its done by adding dojo.require("dojo.number"); Thanks for the help. Kindly help me for my previous thread as well http://forums.arcgis.com/threads/18869-Graphic-popup-Event-Method Regards, Zeeshan
... View more
12-11-2010
09:31 PM
|
0
|
0
|
259
|
POST
|
I want to add that i just learnt from http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/inside_compactbuild.htm is that Module "dojo.number" Compact status shows "No". So this means we need to sort out dojo.number with v2.1compact.
... View more
12-11-2010
09:16 PM
|
0
|
0
|
259
|
POST
|
Hi kelly i have tried the way u advised. But still i cant see measurements. Kindly try your self if i m wrong some where http://help.arcgis.com/en/webapi/javascript/arcgis/demos/util/util_distance.html This is the sample which i tried with "v=2.1compact" with including dojo.require("esri.tasks.geometry"); please check again. Thanks, Zeeshan
... View more
12-11-2010
08:55 PM
|
0
|
0
|
259
|
POST
|
i am measuring distance from point to point in IPad. I am using source "http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.1compact" for Ipad application as mentioned in the samples to work with Iphone. The problem is i am not getting distance measurment when i use "v=2.1compact". but if i use "v=2.1" only then it works fine. i m using "v=2.1compact" coz it is compatible for popups in Ipad/Iphone. So kindly suggest me to sortout this problem. Well i already have send thread for some problem but didnt get reply so far. I request kindly give quick replies. Thanks Regards, Zeeshan
... View more
12-11-2010
04:40 AM
|
0
|
4
|
720
|
POST
|
Well i have solved it .I have declared a global array and pushed all the graphic retreived from database along with unique ID. Then i have removed the desired graphic by using Map.Graphic.Remove(graphic_Line[Id]). Method. And it works for me. Thanks to All Regards, Zeeshan
... View more
12-09-2010
09:52 AM
|
0
|
0
|
406
|
POST
|
Hi I am initializing different symbols and setting info window to display details in popups while clicking on them. My question is i need to control info window size on different symbols while clicking. I want the EVENT/Method that tells me that popup status value set to on when popup appears and set to off when popup close. How i can get such event/method. so i can force info window size on different symbols. I want popup status value in different Alert popup that insures me the behaviour of info window. code will be appreciate in help.Thanks Regards, Zeeshan
... View more
12-07-2010
09:27 AM
|
0
|
1
|
566
|
POST
|
infowindow method use in the case when user want to get popup on map click ...but in my case i want popup on symbol click. i have checked to bind infowindow method while initializing symbol it not works. I am sending my code : var pt = new esri.geometry.Point(X1, Y1, new esri.SpatialReference({ wkid: 4326 })); var symbol = new esri.symbol.PictureMarkerSymbol('primary_symbols/' + Img, 40, 30); var json = { title: "Telecom", content: "Details"} var info1 = new esri.InfoTemplate(json); var graphic1 = new esri.Graphic(pt, symbol); graphic1.setInfoTemplate(info1); map.graphics.add(graphic1);
... View more
12-02-2010
01:40 AM
|
0
|
0
|
187
|
POST
|
Hi I am initializing the symbols with popups on the map using setInfoTemplate to see detail info of the each symbol. I am succeed in removing particular symbol on hitting user defined button from the popup. Symbol removes successfully But popups remains viewable for user. How i can make popup close as well while removing symbol or how we can call CROSS button mentioned in the top right corner(which actually user hits to close). Looking sample code for my requirment. Thanks Regards, Zeeshan
... View more
11-30-2010
10:26 PM
|
0
|
3
|
1131
|
POST
|
i am drawing line using this code reference from http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi_start.htm var myLine ={geometry:{"paths":[[[-91.40625,6.328125],[6.328125,19.3359375]]], "spatialReference":{"wkid":4326}}, "symbol":{"color":[0,0,0,255],"width":1,"type":"esriSLS","style":"esriSLSSolid"}}; var gra= new esri.Graphic(myLine); map.graphics.add(gra); How can i delete the line if i am trying to draw in above mention way. The samples for deleting graphics method is not clear if we are drawing using inputs parameters. Can some one help us through code.
... View more
11-23-2010
10:21 PM
|
0
|
4
|
1819
|
POST
|
I would like to brief more about my previous statment is that i need to load different markers on the map along with different longitude & latitude.
... View more
10-17-2010
10:51 PM
|
0
|
0
|
204
|
POST
|
I am new to ArcGIS API for Javascript. I am trying to add graphics. which includes Image,line,polygon. I am trying the reference link http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi_start.htm I am stuck while trying to load line using desired positions longitude and latitude. Kindly if some one can help me out with some code modification that what i m missing here ?. i m putting my code in which i m loading Line..Later In the case of succeed i will load rest of graphics.Thanks <script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.1"></script> <script type="text/javascript"> dojo.require("esri.map"); dojo.require("esri.graphic"); function init() { var initExtent = new esri.geometry.Extent({ "xmin": 5129249.759455201, "ymin": 3361184.138260187, "xmax": 5520607.344275116, "ymax": 3463304.0080491337, "spatialReference": { "wkid": 102100} }); var map = new esri.Map("map", { extent: initExtent }); dojo.connect(map, "onload", Draw_Symbol()); var tiledMapServiceLayer = new esri.layers.ArcGISTiledMapServiceLayer("http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"); map.addLayer(tiledMapServiceLayer); } function Draw_Symbol() { var pt = new esri.geometry.Point(47.249625077193045, 29.526414016317314, map.spatialReference) var sms = new esri.symbol.SimpleMarkerSymbol().setStyle(esri.symbol.SimpleMarkerSymbol.STYLE_SQUARE).setColor(new dojo.Color([255,0,0,0.5])); var attr = {"XCoord":evt.mapPoint.x,"YCoord":evt.mapPoint.y,"Plant":"Mesa Mint"}; var infoTemplate = new esri.InfoTemplate("Vernal Pool Locations","Latitude: ${YCoord},Longitude: ${XCoord} Plant Name:${Plant}"); var graphic = new esri.Graphic(pt,sms,attr,infoTemplate); //tried map.graphics.add(graphics); but error } dojo.addOnLoad(init); </script> Regards, Zeeshan
... View more
10-17-2010
04:01 AM
|
0
|
2
|
610
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|