Community
All Communities
Products
ArcGIS Pro
ArcGIS Survey123
ArcGIS Online
ArcGIS Enterprise
Data Management
ArcGIS Experience Builder
Geoprocessing
ArcGIS Web AppBuilder
ArcGIS Field Maps
ArcGIS Dashboards
ArcGIS StoryMaps
All Products Communities
Industries
Education
Water Resources
State & Local Government
Transportation
Gas and Pipeline
Water Utilities
Imagery and Remote Sensing Insights (IRIS) COP
Roads and Highways
Natural Resources
Telecommunications
Electric
All Industries Communities
Developers
Python
JavaScript Maps SDK
Native Maps SDKs
ArcGIS API for Python
ArcGIS Pro SDK
ArcObjects SDK
Developers - General
ArcGIS REST APIs and Services
ArcGIS Online Developers
Game Engine Maps SDKs
File Geodatabase API
All Developers Communities
Global
Comunidad Esri Colombia - Ecuador - Panamá
ArcGIS 開発者コミュニティ
Czech GIS
Europe
Asia Pacific
Americas
ArcNesia
Comunidad GEOTEC
Esri India
GeoDev Germany
ArcGIS Content - Esri Nederland
All Global Communities
All Communities
Developers
User Groups
Products
Industries
Services
Community Resources
Global
Events
Networks
Learning
ArcGIS Topics
View All Communities
ArcGIS Ideas
GIS Life
Community Resources
Community Help Documents
Community Blog
Community Feedback
Member Introductions
All Community Resources
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 Silverlight (Retired)
:
ArcGIS API Silverlight Questions
:
Calculate resolution based on map extent
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
Select to view content in your preferred language
Translate Now
Calculate resolution based on map extent
Subscribe
1213
2
07-23-2013 03:05 AM
by
prashantk
Occasional Contributor
07-23-2013
03:05 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Hi all,
I want to set MinimumResolution for graphics layer.
I am trying to calculate the resolution value from map extent so user can zoom to particular location and set the value for graphics layer.
Any help would be appreciated.
Regards,
Prashant
Tags
(2)
Tags:
silverlight
web_developers
Reply
0
Kudos
All Posts
Previous Topic
Next Topic
2 Replies
by
DominiqueBroux
Esri Frequent Contributor
07-23-2013
03:24 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
The resolution is the size of one pixel in map coordinates.
so something like: var res = extent.Width/MyMap.Width;
The current map resoluton is also exposed as MyMap.Resolution.
Reply
0
Kudos
by
prashantk
Occasional Contributor
07-23-2013
04:22 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Hi,
Thanks for your quick reply.It works for me.For different zoom level i am getting resolution value.Now i can easliy set this value to minimum / maximum resolution for graphics layer to set visibility.
Thanks once again,
Prashant
Reply
0
Kudos
Post Reply