Community
All Communities
Products
ArcGIS Survey123
ArcGIS Pro
ArcGIS Online
ArcGIS Enterprise
Data Management
Geoprocessing
ArcGIS Web AppBuilder
ArcGIS Collector
ArcGIS CityEngine
ArcGIS Dashboards
ArcGIS Spatial Analyst
All Products Communities
Industries
Education
Water Resources
Gas and Pipeline
State & Local Government
Transportation
Water Utilities
Telecommunications
Roads and Highways
Natural Resources
Electric
Science
All Industries Communities
Developers
Python
ArcGIS API for JavaScript
ArcGIS Runtime SDKs
ArcGIS API for Python
ArcObjects SDK
ArcGIS Pro SDK
Developers - General
ArcGIS API for Silverlight (Retired)
ArcGIS API for Flex (Retired)
ArcGIS REST API
ArcGIS for Windows Mobile (Retired)
All Developers Communities
Worldwide
Comunidad Esri Colombia - Ecuador - Panamá
ArcGIS 開発者コミュニティ
Czech GIS
ArcNesia
Esri India
GeoDev Germany
Esri Italia Community
ArcGIS Content - Esri Nederland
Swiss Geo Community
GeoDev Switzerland
Comunidad GEOTEC
All Worldwide Communities
All Communities
Products
Developers
User Groups
Industries
Services
Worldwide
Community Basics
Events
Learning
ArcGIS Topics
Networks
View All Communities
ArcGIS Ideas
Community Basics
Community Help Documents
Community Blog
Community Feedback
Member Introductions
Community Ideas
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Cancel
Home
:
All Communities
:
Developers
:
ArcGIS API for JavaScript
:
ArcGIS API for JavaScript Ques
:
Ask ArcGISDynamicMapServiceLayer to render in a di...
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
Ask ArcGISDynamicMapServiceLayer to render in a different color?
Subscribe
370
1
08-07-2011 06:47 PM
by
SystemAdministr
ator
New Contributor
08-07-2011
06:47 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Email to a Friend
Report Inappropriate Content
Is is possible, in the ArcGIS Javascrpit API, to get an ArcGisDynamicMapServiceLayer to render in a different colour, or would the ArcGIS Service need to be changed?
Thanks!
Tags
(2)
Tags:
javascript
web_developers
Reply
0
Kudos
All Posts
Previous Topic
Next Topic
1 Reply
by
StephenLead
Regular Contributor III
08-07-2011
11:05 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Email to a Friend
Report Inappropriate Content
My understanding (and I could be wrong) is that this is not possible when using a dynamic map layer.
To change the symbology you need to use a
Renderer
, which applies to a
Graphics Layer
.
A
Feature Layer
is a type of graphics layer, but a dynamic layer is not. See the diagram on the Feature layer help file:
Class hierarchy
esri.layers.Layer |_ esri.layers.GraphicsLayer |_ esri.layers.FeatureLayer
Therefore your options could be to display your data using a feature layer, or change the symbology at the ArcMap level.
Hope this helps,
Steve
Reply
0
Kudos
Post Reply