sp-dev-fx-webparts icon indicating copy to clipboard operation
sp-dev-fx-webparts copied to clipboard

react-interactive-map - markers from list

Open swimmerbhs opened this issue 1 year ago • 4 comments

Disclaimer

Yes

Sample

react-interactive-map

Contributor(s)

@SPFxAppDev

Question

Is there away that this sample can pull information from a specific list?

This list contains, latitude and longitude and other items. We have office location list that needs to be plotted on a map. but it is dynamic so it should also be async.

swimmerbhs avatar Aug 23 '23 13:08 swimmerbhs

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar Aug 23 '23 13:08 ghost

Hi @swimmerbhs,

Currently the webpart does not support aggregation of locations from a list. The web part and the settings for a location have some more information like markerColor, iconName, iconColor, type (what should happen on click) and the "content" when the marker was clicked on.

If no other items are added to the list (or updated), I'd be happy to help generate a script that reads the data from the list and then places the Maps Web Part with the correct values. But for this you have to agree on a standard "marker type". So e.g. all markers have color A and have icon B with IconColor C. When clicking always a panel opens (e.g.) and there is a content from column X

Regards

Seryoga (spfx-app.dev)

SPFxAppDev avatar Aug 23 '23 14:08 SPFxAppDev

Hi,

Just wondering if you ever completed this request to read from a list?

Thank you

Krodgersminto avatar Dec 12 '23 20:12 Krodgersminto

Hi @Krodgersminto,

No, unfortunately not. I thought about it, but since my web part supports a variety of settings, the list should have the same settings. But since you're not the only ones who need this feature, I'll try to think of something and implement it

SPFxAppDev avatar Dec 13 '23 09:12 SPFxAppDev

This issue has been marked as stale due to no progress in over 90 days. If you are still experiencing this issue, please provide additional information so we can help you resolve it.

github-actions[bot] avatar Mar 13 '24 01:03 github-actions[bot]

Closing this issue due to lack of activity. If you are still encountering this issue, please do not hesitate to open a new issue. Make sure to follow the guidance on how to create good issues to increase your chances of getting the help you deserve.

github-actions[bot] avatar Mar 21 '24 01:03 github-actions[bot]