How to add only label or popup withpout markers in a map?

0 votes
How to add only label or popup withpout markers in a map?

It's disturbing to see markers in the map, Is there a way to add popup and labels without markers.

I have few markers in the map but i dont want to show them.

Need help for the same, Thanks.
Sep 23 in Data Analytics by ch
• 3,290 points
101 views

1 answer to this question.

0 votes

Hi, @ch

Use addLabelOnlyMarkers( ) to add labels without any marker markers. I don't think you can add popup without markers.

Run the below example.

leaflet() %>% addTiles() %>% addLabelOnlyMarkers(lng=77.6944, lat=12.9811,label = "My Office",labelOptions = labelOptions(noHide = T))
answered Sep 23 by anonymous
• 3,290 points

Related Questions In Data Analytics

0 votes
1 answer

How to convert a text mining termDocumentMatrix into excel or csv in R?

By assuming that all the values are ...READ MORE

answered Apr 5, 2018 in Data Analytics by DeepCoder786
• 1,720 points
184 views
0 votes
1 answer

How to add videos in a shiny R dashboard?

Its pretty simple, try this: server.r library(shiny) shinyServer(function(input, output, session) ...READ MORE

answered Dec 4, 2018 in Data Analytics by Haseeb
323 views
0 votes
2 answers

How to add sliderbars in a shiny R dashboard?

To add slider bar and slider range ...READ MORE

answered Dec 4, 2018 in Data Analytics by Kalgi
• 46,110 points
97 views
0 votes
1 answer

How to filter only those rows with a condition in R?

Write R code as below temp = data ...READ MORE

answered Jul 15 in Data Analytics by anonymous
• 32,260 points
38 views
0 votes
1 answer

plot map points from a dataframe

Hi Peter, Use below code. leaflet(df) %>% addTiles() %>% ...READ MORE

answered Sep 17 in Data Analytics by priya
28 views
0 votes
1 answer

How to add external markers in maps?

Use external markers by creating icons using ...READ MORE

answered Oct 14 in Data Analytics by Cherukuri
• 32,260 points
23 views
0 votes
1 answer

How to add legend or any text on the map in leaflet?

See below example, > p = colorFactor(palette = ...READ MORE

answered Oct 28 in Data Analytics by anonymous
• 32,260 points
74 views
0 votes
0 answers

fix the map area using leaflet and use ggplot

I created a map using leaflet and ...READ MORE

Sep 18 in Data Analytics by anonymous
• 32,260 points
19 views
0 votes
1 answer

How to highlight polygon/hovered a region in a map?

Hey, Try this code example to highlight polygon ...READ MORE

answered Sep 24 in Data Analytics by anonymous
• 3,290 points
22 views
0 votes
1 answer

How to create icons for markers in leaflet?

Hi @ch, Create an icon use makeicon function ...READ MORE

answered Sep 23 in Data Analytics by anonymous
• 3,290 points
26 views