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 for Flex (Retired)
:
ArcGIS API for Flex Questions
:
Pass center of mapview
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
Pass center of mapview
Subscribe
1094
2
10-12-2011 10:57 AM
by
AaronNash
Deactivated User
10-12-2011
10:57 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
I have been trying to grab the center of the map view to send the lat and long over to google maps, does anyone have any code to grab the lat and long from the center of the map view where the crosshair would be?
thanks,
Tags
(2)
Tags:
flex
web_developers
Reply
0
Kudos
All Posts
Previous Topic
Next Topic
2 Replies
by
RobertScheitlin
__GISP
MVP Emeritus
10-12-2011
12:05 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Aaron,
It kind of depends on what your maps spatial reference is. But you can use
map.extent.center
to get the maps center point.
Reply
0
Kudos
by
AaronNash
Deactivated User
10-12-2011
12:07 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
I knew it was something simple, thanks for the help. Problem solved
Reply
0
Kudos
Post Reply