SymbolixAU / googleway

R Package for accessing and plotting Google Maps
http://symbolixau.github.io/googleway/
Other
234 stars 46 forks source link

Close_info_window available with other method #220

Open Djemay opened 4 years ago

Djemay commented 4 years ago

Hi,

Thank you for this great package.

Is it possible to have the close_info_window parameter available for other functions? For example, I use the add_polygon function with the info_window parameter. But after the pop-up window appears, it would be easier for the user to click somewhere on the map in order to close the popup instead of being forced to click the cross.

dcooley commented 4 years ago

Hi @Djemay , sorry for the late reply. I've had a quick look but couldn't get it to work straight away, so I can't say if this is possible or not.

Markers are different types of map objects to all the other shapes, and they have their own InfoWindow property, which behave differently to the custom ones.