Display proportional symbol KML file in ArcGIS JSAPI 3.8

544
1
03-25-2014 02:03 AM
SunilPalkar
Occasional Contributor
Hello All,

I am displaying proportional symbol KML file in ArcGIS JSAPI 3.8 but  displaying differently (i.e white color is appearing but the kml has different color) in JSAPI.

so is there any restriction/limitation in JSAPI so display proportional symbol in web browser ?

My code  is  available on JS Fiddle

Any help/remarks will be great !!!

thanks..
0 Kudos
1 Reply
ManishkumarPatel
Occasional Contributor II
Hello All,

I am displaying proportional symbol KML file in ArcGIS JSAPI 3.8 but  displaying differently (i.e white color is appearing but the kml has different color) in JSAPI.

so is there any restriction/limitation in JSAPI so display proportional symbol in web browser ?

My code  is  available on JS Fiddle

Any help/remarks will be great !!!

thanks..


Hi Sunil,

The KML file honors the symbology. although if you can read the features and then you can set the propotional symbology as required.

Refer the following sample for using Propotional Symbology in JSAPI
https://developers.arcgis.com/javascript/jssamples/renderer_proportional_points.html
https://developers.arcgis.com/javascript/jssamples/renderer_proportional_with_rotation.html

Hope this helps.

Regards,
Manish
0 Kudos