Zooming into State using R Leaflet

المشرف العام

Administrator
طاقم الإدارة
I am using R LeaftLet package to create a interactive choropleth of the US Map.

There are several tutorials online and I am able to create interactive state level map with pop up and zoom. Also I was also able to create a separate zip code level map again with pop up.

Now my question I want both in one map itself but make zip code visible as I zoom in a state or double click on a state. Like If I double click on New York , the New York Zip Code opens up. Is there a package/function in R that can help me do this?

Appreciate your help. Even if you know anything small which can help me please post.

Here are statics screenshots of both



أكثر...
 
أعلى