Aller au contenu principal

Tasks identify - place map marker blue on location user clicks rather than startpoint polygon

Non planifiée

Commentaires

5 commentaires

  • Jasper Kroon

    We also have this problem on Raster data.

    We figured out the maptip to show the ‘raw pixel value’ so it can show the height at a specific location.
    But the maptip shows a marker in the bottom left corner of the raster, and not the point clicked on the map.

    So the user does not know what pixel has the height value in the maptip

    0
  • Cam Barnard

    We've looked at this a few times and we don't have a good solution.

    Currently we use the first vertex in the polygon because that is the most performance friendly thing to do.

    We looked at ‘the center’ of the polygon but that is more costly, and in the case of multi-part polygons wouldn't be on any polygon.

    Due to how we are rendering the marker it must be located at a vertex. 
     

    0
  • Bart Middelburg

    Hi Cam,

    Thanks for your answer. Wouldn't be the most easy solution just placing the marker at the exact location a users clicks. The highlight will show the feature which is selected when going through a list of multiple features. Or why is the current implementation chosen over placing the marker at the location the user clicks?

    0
  • Jasper Kroon

    “We looked at ‘the center’ of the polygon but that is more costly, and in the case of multi-part polygons wouldn't be on any polygon.”

    This would also be ‘wrong’. Just like using the first vector of the polygon the marker would all over the place.

    Let's assume we have a map with Canada vectorized and a nice maptip. And another layer with Territories.
    Zoming into Quebec (city) and a click on the map will put a Marker in Novalut, that is completly pointless.

    So like Bart says. The only logical location for the blue marker would be the position that is clicked. We could understand there would be an exception for point so the marker is on the point and not between 2 points. But because there already is a blue glow around the point this would not be necessary. 

     

    0
  • Rica Saporta

    Hello

    we are also running into this issue as confusing for the user. I agree that the “best” location to indicate with a pin is where the user clicked. I am still learning VertiGIS so if there is an option to not display the pin at all, that may be appropriate in some situations (on a view or tool/workflow level).

    0

Vous devez vous connecter pour laisser un commentaire.