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 Spatial Analyst
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
Esri India
Comunidad GEOTEC
Europe
GeoDev Germany
Americas
Asia Pacific
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
Community Ideas
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
:
JavaScript Maps SDK
:
JavaScript Maps SDK Questions
:
Point Clustering with WKID:4326
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
Point Clustering with WKID:4326
Subscribe
1275
3
Jump to solution
09-26-2013 09:27 AM
by
AndrewDavis
Deactivated User
09-26-2013
09:27 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Hi,
I am working with the point clustering example:
http://developers.arcgis.com/en/javascript/samples/layers_point_clustering/
and have been able to get it to work nicely with a WebMercator map locally.
I have to deploy an instance where it will be plotted on top of a map with a tiled basemap (wkid:4326).
I have gone through the code and made sure that all of my wkid entries were 4326.
I am able to get my cluster graphics to show on that map, but they all plot inside that hole in the bottom of the ocean (0 by 0);.
Is there anyone who is using clustering on a wkid 4326 map?
Andy..
Solved!
Go to Solution.
Tags
(2)
Tags:
javascript
web_developers
Reply
0
Kudos
All Posts
Previous Topic
Next Topic
1 Solution
Accepted Solutions
by
ZachLiu1
Deactivated User
09-26-2013
11:15 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Have you checked the map.spatialReference to see if the whole map is really displayed in WKID 4326?
View solution in original post
Reply
0
Kudos
3 Replies
by
ZachLiu1
Deactivated User
09-26-2013
11:15 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Have you checked the map.spatialReference to see if the whole map is really displayed in WKID 4326?
Reply
0
Kudos
by
AndrewDavis
Deactivated User
09-27-2013
01:28 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Yes, that is what I am having fun with right now.
The map spatial ref is in 4326.
The tiled map service (my basemap) is in 4326 on my server
Inside the 'clusterLayer' (firebug)
the '_clusterData' collection of objects are showing decimal degree coordinates.
the clusterLayer spatialReference is set to wkid 4326
... Found it...
Inside the 'ClusterLayer.js' script on line #64 there is a call to spatial reference "102100"... Once I changed that I had a bonanza..
Thanks for your reply and I appreciate your help.
Things are always clearer in the morning...
Andy
Reply
0
Kudos
by
ZachLiu1
Deactivated User
09-27-2013
04:59 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Usually when features cluster at around (0, 0) it means you put lat, lng points on a projected coordinate system cause the numbers are too small. Glad to help.:)
Reply
0
Kudos
Post Reply