|
POST
|
In a map, i have several color polylines(indicating different status) i know to write a condition to get all polylines values on map, but suppose if i want only blue color line polyline geometry,(how to write a condition to filter only blue polyline geometry), I tried several ways and got stuck here. Any help appreciated Thank you
... View more
07-24-2018
06:30 AM
|
0
|
6
|
2259
|
|
POST
|
i'm particularly looking for selecting polylines based on color and calculating centerpoint
... View more
07-20-2018
10:58 AM
|
0
|
0
|
1152
|
|
POST
|
on map i have different color polylines, how can i write a code to get a center-point of red lines in particular. 1. writing condition for getting red line geometries 2.getting centerpoint from geometries Got stuck here Any help Appreciated Thanks
... View more
07-20-2018
08:25 AM
|
0
|
2
|
1389
|
|
POST
|
polyline shouldn't cross the circle boundary, how to verify does polyline came outside from circle(which is drawn on basis of center point with 1/4 radius). 100 % of polyline should be inside/touch the circle, not outside. got stuck, Any help would be appreciated Thanks
... View more
07-19-2018
10:24 AM
|
0
|
1
|
1129
|
|
POST
|
How to Calculate a centerpoint between different lines as in image, lines can be multiple and uneven structures Any help greatly appreciated Thank you
... View more
07-10-2018
07:19 AM
|
0
|
1
|
1102
|
|
POST
|
how to create a circle with with center point with radius 1/2 mile var centerpoint = extent.getCenter();//gets centerpoint from centerpoint 1/2 mile radius circle
... View more
07-06-2018
07:28 AM
|
0
|
1
|
1141
|
|
POST
|
above code highlights one state and loads total map. I'm looking for to show only one state on screen above code looks as in image
... View more
07-03-2017
09:16 AM
|
0
|
1
|
2547
|
|
POST
|
sethlewistempe Something is missing, It loading empty screen
... View more
07-03-2017
08:51 AM
|
0
|
5
|
2548
|
|
POST
|
This is a very simple question but a Google search did not provide an answer. Basically suppose you have a map of the U.S. with states and county layers, as well as other layers like roads, etc. I want to work with a map of only one state. in Arcgis JavaScript. I did below code for whole world map loading: var map; require([ "esri/map", "dojo/domReady!" ], function ( Map ) { map = new Map("map", { basemap: "osm", center: [-122.9007, 47.0379], zoom: 9 }); });
... View more
06-30-2017
03:30 PM
|
0
|
8
|
4002
|
|
POST
|
thejus.kambi If you can help me, Have a look in to code once
... View more
06-26-2017
04:21 PM
|
0
|
1
|
1194
|
|
POST
|
//Same information on every point only first Json Markers(data) is showing for all points var map; require([ ], function ( Map, Scalebar, graphicsUtils, Extent, InfoTemplate, SimpleLineSymbol, Graphic, SimpleMarkerSymbol, Color, on, dom, Point, Search ) { var markers = JSON.parse('<%=GetData1() %>'); //getting data from sql var outfall = JSON.parse('<%=GetData2() %>');//getting data from sql map = new Map("FSMap", { basemap: "osm", center: [-y, x], zoom: 6 }); map.on("load", addQueryResult); function addQueryResult() { if (markers && markers.length > 0) { for (i = 0; i < markers.length; i++) { var data = markers var lat = data.latitude; var long = data.longitude; var symbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_SQUARE, 4, new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new Color([128, 0, 128]))); var pt = new Point(long, lat); var graphic = Graphic(pt, symbol, data); map.graphics.add(graphic); map.on("click", Pointdata); function Pointdata(evt) { if (evt.graphic) { var latitude = evt.mapPoint.getLatitude(); var longitude = evt.mapPoint.getLongitude(); map.infoWindow.setTitle("Details"); map.infoWindow.setContent(evt.graphic.attributes.FId+ '<br>' + 'Address:' + evt.graphic.attributes.StreetAddress ); map.infoWindow.show(evt.mapPoint, map.getInfoWindowAnchor(evt.screenPoint)); } } } } if (outfall && outfall.length > 0) { for (i = 0; i < outfall.length; i++) { var Info = outfall var lati = Info.LatitudeDecimal; var longi = Info.LongitudeDecimal; var green = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 11, new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new Color([0, 128, 0]), 2));)); var pnt = new Point(longi, lati); var graphi = Graphic(pnt, green, data); map.graphics.add(graphi); map.on("click", Outfalldata); function Outfalldata(evt) { if (evt.graphi) { var latitude = evt.mapPoint.getLatitude(); var longitude = evt.mapPoint.getLongitude(); map.infoWindow.setTitle("OutfallDetails"); map.infoWindow.setContent(evt.graphi.attributes.PId ); map.infoWindow.show(evt.mapPoint, map.getInfoWindowAnchor(evt.screenPoint)); } } } } } });
... View more
06-26-2017
04:20 PM
|
0
|
2
|
1398
|
|
POST
|
how to zoom map, where points are loaded thejus.kambi, while map loading i'm using zoom7, it is always same location and same zoom level, how to zoom according to points loaded
... View more
06-22-2017
09:41 AM
|
0
|
1
|
2214
|
|
POST
|
map.infoWindow.setContent(data.Facility);//it's a column name coming from sql,
... View more
06-22-2017
09:01 AM
|
0
|
3
|
2214
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-22-2019 06:52 AM | |
| 1 | 08-27-2018 09:37 AM | |
| 1 | 08-20-2019 01:12 PM | |
| 1 | 12-18-2018 12:17 PM | |
| 1 | 03-28-2019 08:22 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-22-2024
08:32 PM
|