Community
All Communities
Products
ArcGIS Pro
ArcGIS Survey123
ArcGIS Online
ArcGIS Enterprise
Data Management
ArcGIS Experience Builder
Geoprocessing
ArcGIS Web AppBuilder
ArcGIS Dashboards
ArcGIS Field Maps
ArcGIS StoryMaps
All Products Communities
Industries
Education
Water Resources
State & Local Government
Transportation
Gas and Pipeline
Water Utilities
Roads and Highways
Telecommunications
Natural Resources
Electric
Imagery and Remote Sensing Insights (IRIS) COP
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
ArcNesia
Europe
Americas
Asia Pacific
Esri India
Comunidad GEOTEC
GeoDev Germany
ArcGIS Content - Esri Nederland
All Global Communities
All Communities
Developers
User Groups
Industries
Services
Community Resources
Global
Events
Learning
Networks
ArcGIS Topics
Products
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
:
What happened to containsExtent method of 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
What happened to containsExtent method of Extent?
Subscribe
983
4
Jump to solution
10-04-2010 11:33 AM
by
KenBuja
MVP Esteemed Contributor
10-04-2010
11:33 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
This method was in the 1.3 version of the API but isn't showing up in the 2.x version. Is there a reason it was dropped?
Solved!
Go to Solution.
Tags
(2)
Tags:
flex
web_developers
Reply
0
Kudos
All Posts
Previous Topic
Next Topic
1 Solution
Accepted Solutions
by
DasaPaddock
Esri Regular Contributor
10-04-2010
11:52 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
It was replaced with the contains() method that accepts any Geometry type.
http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/geometry/Extent.html#contains(
)
View solution in original post
Reply
0
Kudos
4 Replies
by
DasaPaddock
Esri Regular Contributor
10-04-2010
11:52 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
It was replaced with the contains() method that accepts any Geometry type.
http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/geometry/Extent.html#contains(
)
Reply
0
Kudos
by
KenBuja
MVP Esteemed Contributor
10-04-2010
12:39 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
It's too bad that now there's the extra step of creating a polygon when determining whether the extent of several unioned extents is contained within another extent.
Reply
0
Kudos
by
DasaPaddock
Esri Regular Contributor
10-04-2010
12:48 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
I don't follow why there's now an extra step? You can still pass an Extent to the contains() method since Extent is a type of Geometry.
Reply
0
Kudos
by
KenBuja
MVP Esteemed Contributor
10-05-2010
05:09 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Ah...thanks for pointing that out. I didn't take note of the inheritance.
Reply
0
Kudos
Post Reply