You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on requirements for the new trimet.org project, we will need to be able to support custom icons for stops. There are multiple styles such as a fully colored version, an opaque version, etc.. We think the best way to get this behavior is to provide a prop that lets us inject the marker object.
Currently there is no way to prevent the popup when clicking on a stop. We would like an optional prop to hide pop-ups on the overlay.
Currently there is no onClickHandler for the markIcon itself. We need this in order to tie into other functionality within the trimet app, and we would expect the stopId would be propogated up.
The text was updated successfully, but these errors were encountered:
Might also include the ability to display and show different stop icons on the map, based on the predominant mode of the vehicles serving a given stop. This is less of a priority than what Paul needs, but worth a mention in case the work to enable mode-based icons is incremental to that requested above.
Thoughts & Rationale:
http://ride.trimet.org has different stop icons on the map for different modes, which I find to be a valuable visual clue when looking at stops on the map.
so would love to eventually have different map icons for stops based on the 'mode' of the routes serving said stop. Can use the modes (enum / strings) should be those defined in the GTFS spec.
Important to make this component easy to configure to. So having a default icon supplied to the component to just customize all stop icons is a need. But maybe then mode based icons could be specified on top of this default icon to override for specified modes (e.g., again, need something simple to set all icons to a custom icon ... then something else to go further on specifying the individual mode icons).
Do we also need special colors (or icons) for highlighting a selected stop? And thus conversely graying-out unselected stops?
again, this is incremental and of lesser priority to just customizing all stop icons, as Paul is asking for above.
Based on requirements for the new trimet.org project, we will need to be able to support custom icons for stops. There are multiple styles such as a fully colored version, an opaque version, etc.. We think the best way to get this behavior is to provide a prop that lets us inject the marker object.
Currently there is no way to prevent the popup when clicking on a stop. We would like an optional prop to hide pop-ups on the overlay.
Currently there is no onClickHandler for the markIcon itself. We need this in order to tie into other functionality within the trimet app, and we would expect the stopId would be propogated up.
The text was updated successfully, but these errors were encountered: