Annotation of State and country name in React-leaflet

廉价感情. 提交于 2021-01-29 20:31:09

问题


I've started working on a map related project using React-Leaflet. The basemap provided by OpenStreetMap is politically incorrect wrt India, so i decided to find right geojson data and display its layer through GeoJson from 'React-Leaflet'.
Right now its only showing the borders/polygons, but i want to display the name of country and state as annotation similar to OpenStreetMap's basemap. Is there a way to do this?

来源:https://stackoverflow.com/questions/65593298/annotation-of-state-and-country-name-in-react-leaflet

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!