trailheadlabs / outerspatial-map-library

A Leaflet plugin built for use in OuterSpatial
https://www.trailheadlabs.com/labs/outerspatial-map-library/
Other
6 stars 1 forks source link

Add selected indicator for GeoJSON overlay geometries #91

Closed ryanbranciforte closed 6 years ago

ryanbranciforte commented 7 years ago

This came up in the Utah meeting. Here is example.

  1. https://www.outerspatial.com/builder_maps/70/embed -Hidden Canyon Trail screen shot 2017-11-02 at 3 23 18 pm

  2. Here is the page it will be embedded into on their site https://www.visitutah.com/places-to-go/most-visited-parks/zion/adventure-guide/hidden-canyon/

Since there are a bunch of trails in this area, it's hard to tell which one is Hidden Canyon. Even after you click on it, it's unclear the full route of the Hidden Canyon trail.

Utah asked about a highlight or some way to indicate the full route of the trail when clicked.

nateirwin commented 6 years ago

Feedback on 7.1.8.1510716494704:

ryanjhodge commented 6 years ago

Just noticed the riseOnHover option yesterday, How about we use that for the marker selected indicator?

I intentionally turned off onHover for polygons, it got kind of irritating while using the map, I can turn it back on and see what you think.