Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
WebUI: Allows one to view a map of the SNMP location set for a device #5495
DO NOT DELETE THIS TEXT
I did wonder about that but as google maps would be searching for the same location, as you have done to translate it to lat/lat, I thought that it would be less complex to merely use the same information provided. It would also help in situations where the user specified a location that is not that accurate, such as a city rather than an exact street address.
I do have a question though, is the lat/long important if the user is not entering it themselves? Maybe in the future we could give the the user a way to specify the lat/long rather using the OpenStreetMap or GoogleMap API to obtain a more accurate value?
I am more than happy to change the way it works based if there is a lat/longresult from the db rather.
I decided on using the map-pin in the end as the globe is already used in the other proposed PR as a http link to the device and so tried to find something less confusing. Its also the same icon used for Locations in our main menu.