POST
|
I think I have figured out.. the map's click event work, but the featurelayer's click event won't work. both of them fire, however only the map version draws the graphic. Could be bug?
... View more
05-11-2016
03:39 PM
|
0
|
0
|
945
|
POST
|
the click did fired, it just didn't draw any graphic on it.. I tried the example too.. same thing.. it works in layer's mouse-over, but not layer's click
... View more
05-10-2016
08:32 PM
|
0
|
1
|
945
|
POST
|
I tried to add a graphic with new symbol such as var symbol = new SimpleFillSymbol(.... var g = new Graphic(evt.graphic.geometry, symbol ); map.graphics.add(g); it works in feature's mouse-over (hover) but not click event?.. i.e.. work in layer.on('mouse-over', function (evt) { ... but not in layer.on('click', function (evt) { ... Am I missing something? Thanks
... View more
05-08-2016
09:44 PM
|
0
|
6
|
3190
|
POST
|
I got it.. by get their symbols and reset their outline.
... View more
05-07-2016
10:33 PM
|
0
|
1
|
687
|
POST
|
I have SimpleFillSymbol var simpleFillSymbol = new SimpleFillSymbol(SimpleFillSymbol.STYLE_NULL, new SimpleLineSymbol(SimpleLineSymbol.STYLE_DASHDOT, new Color([255, 0, 0]), 1); then a render var simpleRender = new SimpleRender(simpleFillSymbol); then I set the featureLayer featureLayer.setRenderer(simpleRender); this feature already including polygons and fill colors based on their characteristics., ie... yellow red, blue, etc.. all I want is to change the outline color.. THanks.
... View more
05-07-2016
08:16 PM
|
0
|
2
|
687
|
POST
|
Need help here.. I use the simpleRender with simpleFillSymbol to change the outine color, but the problem is that it also override the featurelayer's fill color too.. Is there a way just to change the outline color only? Thanks.
... View more
05-07-2016
04:12 PM
|
0
|
4
|
2799
|
POST
|
would love to switch to javascript, but the whole project is flex based .. I just wish they continue to support the api.
... View more
04-18-2015
06:07 PM
|
0
|
0
|
278
|
POST
|
I think there is a bug when using the TextSymbol with the <img tag inside the htmlText; for example, var ts:TextSymbol = new TextSymbol(); ts.htmlText = "<img src='images/2.png' height='20' width='20' />"; I inspect the network traffic and I see it looping forever to fetch the file ? Thanks
... View more
04-17-2015
07:25 PM
|
0
|
1
|
3367
|
POST
|
how to report bug? I think there is a bug in compositesymbol when it has infosymbol inside. when zooming or panning the location of the infosymbol mess up.
... View more
04-17-2015
02:53 PM
|
0
|
2
|
3962
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|