This pull request adds the GeocodingControl component and the geocoding prop to the MapDraw component. When set to "point" or "polygon", the map will render a search input that uses Map Tiler's geocoding API to lookup geometries by the entered place name. A value of "point" will add a lat/lng point to the map. A value of "polygon" will add a polygon outline of the location to the map.
This pull request adds the GeocodingControl component and the
geocoding
prop to the MapDraw component. When set to "point" or "polygon", the map will render a search input that uses Map Tiler's geocoding API to lookup geometries by the entered place name. A value of "point" will add a lat/lng point to the map. A value of "polygon" will add a polygon outline of the location to the map.Search Input
Point Selection
Polygon Selection