appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.64k stars 3.74k forks source link

Add support to display geojson map features - polygon, line and points sourced from rest api's #18857

Open JasonHWRC opened 1 year ago

JasonHWRC commented 1 year ago

Is there an existing issue for this?

Summary

AppSmith is a fantastic tool for viewing and analysing data from REST APIs and databases but does not support viewing geojson data through a map widget. It would be fantastic if there was a widget that would support viewing spatial data in the form of GeoJSON which supports geometry types: Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon and FeatureCollection objects as per the GeoJSON Specification (RFC 7946).

Why should this be worked on?

Currently a AppSmith user needs to develop a map viewing tool using leaflet (https://leafletjs.com/examples/geojson/) or develop a component to use the google maps api (https://developers.google.com/maps/documentation/javascript/datalayer) to accomplish this but it would make life so much easier if there was a prebuilt AppSmith widget. A prebuilt widget which could be configured to use standard GeoJSON and display the GeoJSON objects over a google map or open street map background would enhance and provide functionality which currently requires development attached is an example output from one of our GeoJSON REST APIs 471082.txt

dilippitchika commented 1 year ago

Thanks for the feature request on the map widget @JasonHWRC, we also have an open issue for leaflet integration - #5492 , we'll try to tackle them together

JasonHWRC commented 1 year ago

Fantastic thanks for the update

tazmaniax commented 1 year ago

Hi, will this also cover getting map tiles, for example from OpenWeatherMap?