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
• 1,470 points
12 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
• 1,470 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,700 points
129 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
222 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
• 41,170 points
56 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
• 26,880 points
27 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
14 views
0 votes
0 answers

How to add external markers in maps?

How to add external markers in maps? READ MORE

Sep 17 in Data Analytics by ruchitha
13 views
0 votes
0 answers

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

I'm new to leaflet and working on ...READ MORE

Sep 18 in Data Analytics by anonymous
• 26,880 points
17 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
• 26,880 points
9 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
• 1,470 points
11 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
• 1,470 points
11 views