Skip to main content

Why Feature Layers always appears on the top of everything? Can we set a draw order for feature layer?

Comments

5 comments

  • Permanently deleted user
    Hi Dibya,

     

    The map drawing order is controlled by the order of services listed on the "Map Services" tab on the "Map" page of Essentials Manager.  The bottom of the list is the bottom of the map and anything higher in the list will be drawn on top of a lower item.  Please refer to the section of the Essentials Admin guide called "6.5 Change the Map's Drawing Order" for details.

     

    Regards,

     

    Wayne Richard

     

    Latitude Geographics Group Ltd.

     

    Head Office: 300 – 1117 Wharf Street  Victoria, BC Canada V8W 1T7

     

    Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com

     

    Developers of Geocortex web-based mapping software | www.geocortex.com

     

    An Esri Platinum Business Partner
    0
  • Dibya Pradhan
    Thanks Wayne!

     

    Dibya

     

     
    0
  • Permanently deleted user
    We've notcied a similar issue as Dibya specifically regarding Feature layers.  No matter where you put them in the Map Services list, they draw on top of everything.  Since you can't add them at the Feature Service level (just the individual feature layers), the dragging/dropping of services in the Map Service tab doesn't seem to work in this case.

     

     
    0
  • Jeff Pope
    I have the exact issue that I was hoping would get resolved in 2.7. The feature layer is always shown on top, no matter where in the map service list. Works fine in the SilverLight viewer but we are trying to go the HTML5 route completely.
    0
  • Permanently deleted user

    Hi Allen and Jeff, 

    The existing versions of the Geocortex HTML5 Viewer uses the 3.X Esri Javascript Api. In the 3.X API the Feature layer is an extension of a Graphics layer which leads to a limitation causing this issue for you. A feature layer can only be added after a map service layer, resulting in the feature layer always being shown on top.

    In the Esri Javascript API 4, the feature layer class is no longer an extension of the graphics layer class. I did a quick test application using the new api and confirmed that you can now change the order of map service/feature services as you please.

    Unfortunately, this means that the issue you are experiencing will be present as long as we are using the JS Api 3.X. This is used in our current release and will still be used in the upcoming release as there are a lot of changes needed to support the new API. I can't give a date when we will be release a Viewer that uses the new API, but our devs are hard at work adding support for it. 

    Let me know if you have any other questions,

     

    Cory Purnell

     

    Latitude Geographics Quality Assurance Team
    0

Please sign in to leave a comment.