POST
|
Arcgis Api Javascript - This will sound such a simple question but I can't seem to restrict my search to the current shown extent of the map. Once the map is displayed and only the relevant area is shown by zooming in. dojo.connect(featureLayer, "onUpdateEnd", function () { var zoomExtent = esri.graphicsExtent(featureLayer.graphics); map.setExtent(zoomExtent); }); // now the zoom won't happen until map is updated So I am now zoomed into the feature layer I want only results from within this to show. I can't set the results to the feature layer as this doesn't contain the data for the searching (ie post codes, addresses) Any clues?
... View more
02-03-2017
01:44 AM
|
0
|
0
|
696
|
POST
|
cy cheng That works fantastically for me many thanks.
... View more
02-03-2017
01:40 AM
|
0
|
0
|
559
|
POST
|
Thanks for your reply cy, That is a great suggestion but the colour is from a database and could be any combination of rgb values so this sadly would not work for me. But thanks for your reply.
... View more
02-01-2017
12:33 AM
|
0
|
1
|
559
|
POST
|
I am using the arcgis javascript API and am trying to get a feature layer polygon to show two different colours (for example half the polygon in red the other half in blue). The reason I am doing this is for political party representaion of a ward/division where more then one party has a seat an there is no overall majority. I can't see how this is possible in arcgis api without splitting the polygon somehow??
... View more
01-31-2017
08:52 AM
|
0
|
5
|
1522
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|