

A slider bar allows the user to compare the old zoning for a site to the new zoning. The thing worth noting is that the lat/lon values have to be of correct format to appear on the map. A map which can be magnified to the parcel level.


The idea is that the user selects one input and the markers corresponding to that input (lat/long which are to be fetched from data set of the corresponding input) are displayed in a Leaflet map (with zoom in/out function).
#CREATE WEBMAP WITH TIME SLIDE BAR CODE#
The code utilises the official example available on the leaflet GitHub and provided end-user with the functionality to display custom location on the map. I am trying to create an interactive webmap in R to display locations using Shiny and Leaflet. The basic code to handle custom points in a leaflet map is available below. SliderInput("slider","Please select slider input", min=1,max=100,value=20,step=10) (sample data file uploaded here): enter code hereĪddMarkers(lng=df, lat=df[j,"Latitude) The idea is that the user selects one input and the markers corresponding to that input(lat/long which are to be fetched from data set of the corresponding input) are displayed in a Leaflet map (with zoom in/out function).Īny help/advice would be greatly appreciated! I am trying to create an interactive webmap in R to display locations using Shiny and Leaflet
