Skip to main content

Map Tips always report same road feature twice

Comments

16 comments

  • Dan Giersz
    My first guess would be you also have a feature service for this layer and it has map tips enabled.

     

    It looks like you have the roads in the layer list multiple times,  maybe maptips are showing them all regardless of visibility?
    0
  • Justin Kraemer
    I suppose if Map TIps come up regardless of layer visibility it would be a bug? I did notice I had Map Tips enabled on the road label layer that renders labels from the same feature class, but even after disabling it there, nothing changed. What's the best way to find every instance of the roads in the site? Searching site.xml?
    0
  • Dan Giersz
    They should appear in Essentials Manager, but searching the Site.xml for ShowMapTips="true" would probably be the fastest method to confirm which have maptips.
    0
  • Permanently deleted user
    Hopefully, you are working on the site, because I can not open it.  2nd time it got to disclaimer, but wouldn't do anything after I accepted.
    0
  • Justin Kraemer
    MIke: I might have been in there, but I've just tried and it loads.

     

    Dan: I asked only because there are a LOT of layers in the site in nested subfolders and from many map services, so that's why I asked the fastest way.
    0
  • Permanently deleted user
    Chrome worked a bit better, but still VERY slow, particularly the Parcels and Road allowance.  It looks like your problem is coming from your Municipal or Other Roads layer group.  Both the Municipal or Other Road, and the version with large labels both are giving a maptip.  You are probably making your labels scale dependent, but that means the feature is always on.  Butter to make the feature scale dependent instead of the label.
    0
  • Permanently deleted user
    same for the small scale labels - looks like you have 2 different labels, both of which have maptips, and then the road feature itself also has maptip.  Taking maptip off of the two label features should fix your issue.
    0
  • Dan Giersz
    Yeah, looks like you have the roads in there twice.  Once under 'Transportation>Roads>Municipal or Other Roads' but maybe hidden from the layer list, and then again 'Transportation>Roads>Municipal or Other Roads>Municipal or Other Road'

     

    You can turn off the one visible in the layer list but the roads don't turn off...
    0
  • Justin Kraemer
    I am grateful for the replies on this thread.

     

    Yes, Dan, there was hidden from the layer list Municipal or Other Road (small scale), but it's no longer hidden.

     

    To Mike's second last point, the labels draw from a label map service, in which each layer has no symbology and has layer scale dependency to override any labelling scale dependencies on the layer. Presumably so, but would layer scale dependencies not override label scale dependencies?

     

    To Mike's last point, I turned off map tips from the label layers. I had made this correction earlier on a different site as mentioned above, after which I reported seeing no improvement. I here again see no improvement.

     

    I count 11 lines in Site.xml having ShowMapTips="true", though all but two of these is turned off by default. The two that are on by default have scale dependencies preventing them both from displaying at the same time.

     

    So what's left to check?

     

     
    0
  • Permanently deleted user
    except I went into your actual site and unchecked the labels, and then I only got 1 maptip...
    0
  • Dan Giersz
    When both of these are checked, duplicate Maptips appear:

     

    User-added image
    0
  • Dan Giersz
    Looks like there may be some scale dependencies not getting honored or not set up right.
    0
  • Permanently deleted user
    scale dependency on labels prevents the labels from displaying at same time, but this does not control maptips.  If the layer is on, then you can get a maptip.
    0
  • Justin Kraemer
    Without looking at anything else, and as inspired by Mike's second most recent reply, in the Identify settings of the viewer, I enabled Layers in Visible Scale Range Only. This solved the problem. 

     

    Thank you to both Dan and Mike for their diligence and patience in helping me.

     

    Cheers,

     

    Justin
    0
  • Permanently deleted user
    Yes, but this will affect all of your identifable layers, not just for streets.  I generally choose this option for my public sites anyway, but I think it would be better to turn off the Identify/maptips on both your label layers, and just leave it on the street centerline layer, assuming that is always on.
    0
  • Justin Kraemer
    Map Tips/Identify have only been enabled on the centerline layer, not the labels, but it's a different centreline layer displayed on each side of the scale dependency threshold. I'll see how it goes.
    0

Please sign in to leave a comment.