R Highlight the map portion where zoomed or viewing

0 votes
How to highlight the map portion where zoomed or viewing? My map consists of a lot of markers with popups and labels. I want to highlight the region where the map is currently zoomed.
Oct 14, 2019 in Data Analytics by ch
• 3,450 points
1,037 views

1 answer to this question.

0 votes

@ch,

Use the minimap to show a side map showing the area where the map is zoomed as per your requirements.

Use addMiniMap() function like below.

leaflet() %>% setView(lng=77.669907, lat=13.0118285, zoom = 10) %>% addTiles() %>% addMarkers(lng=77.669907, 
  lat=13.0118285) %>% addMiniMap()
answered Oct 14, 2019 by Cherukuri
• 33,030 points

Related Questions In Data Analytics

0 votes
1 answer
0 votes
0 answers

How to use the where clause in R programming?

I'm trying to implement a where clause ...READ MORE

Dec 24, 2018 in Data Analytics by Sophie may
• 10,620 points
4,180 views
0 votes
1 answer

Export the plot to a pdf or png - R

You need to close the device to ...READ MORE

answered Jul 15, 2019 in Data Analytics by anonymous
2,643 views
0 votes
1 answer

Plotting multiple graphs on the same page in R

If you want to plot 4 graphs ...READ MORE

answered Mar 27, 2018 in Data Analytics by Bharani
• 4,660 points
1,386 views
0 votes
1 answer

How to add external markers in maps?

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

answered Oct 14, 2019 in Data Analytics by Cherukuri
• 33,030 points
837 views
0 votes
0 answers

Add multiple maps over each other

How to multiple layers of maps over ...READ MORE

Sep 19, 2019 in Data Analytics by anonymous
• 33,030 points
755 views
0 votes
1 answer

Reduce markers overlapping in maps

Hey, You can either reduce the font size ...READ MORE

answered Sep 23, 2019 in Data Analytics by anonymous
• 3,450 points
2,061 views
0 votes
1 answer

How to create and call groups in maps?

Groups are used to group a set ...READ MORE

answered Oct 14, 2019 in Data Analytics by Cherukuri
• 33,030 points
587 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, 2019 in Data Analytics by anonymous
• 33,030 points
8,840 views
+1 vote
2 answers

Splitting the data into training and testing sets - R

Hi, Try like this. train = sample(x = ...READ MORE

answered Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
6,063 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP