Zum Hauptinhalt gehen

Feature Layers - clustering

Kommentare

4 Kommentare

  • John Nerge
    I've used clustering on feature layers from map services too. What I haven't tested is whether or not the clustering is respected when printing - honestly don't remember if that works even with feature services.
    0
  • Permanently deleted user
    Hi Folks,

     

    When the documentation was written, we assumed that we needed to use the objectIdFieldName response attribute that is included with a FeatureServer query response.  It's not included when we query a MapServer feature layer.  Thus, it was assumed that clustering would only work with FeatureServer layers.

     

    However, in the final version we found other ways to represent the clusters that did not rely on the objectIdFieldName in the response; however, the documentation was not updated to suit.

     

    I will file a bug in our system to update the documentation.  If you like, you can also use the feedback link on the upper-right of any documentation page to provide feedback on anything that is confusing or conflicting with other docs.

     

    Printing should work just fine; however, due to variances between the scale and extent of the browser map and the printed map, the clusters may get re-rendered when you print and thus would appear different on the printed map.

     

    Regards,

     

    -Malcolm
    0
  • Permanently deleted user
    Sorry please can someone clarify here? The tab for "Feature Clustering" isn't present under the MapServer layer. So you still need to add the FeatureServer layer to the Site and enable it under the FeatureServer layer in "Map Services"? So the documentation therefore is correct?

     

    Unless there is something I am missing?
    0
  • Permanently deleted user
    Thanks Malcolm, I've added feedback to the documentation page.

     

    Paul, for this I used the Add Map Service button and then selected an individual layer in a published Map Service. I then used the 'Add as Feature Layer' button and then when you select it from the list of map servies you'll see the tab for Feature Clustering. This meant I didn't have to publish the service as a Feature Service.
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.