I've added 2 new features to Google Map and would like to distribute the code to anyone who's interested in using them. What is the recommended path?
- Markers Status: can be set to All or Down
- Page Refresh: can be set to 10, 30, 60 seconds or None
Both of these options can be selected via drop down as can be seen in the screenshot.
Google Map - New Features Added
Google Map - New Features Added
You do not have the required permissions to view the files attached to this post.
Re: Google Map - New Features Added
Providing us with a diff file against the posted version might be easiest:
https://exchange.nagios.org/directory/A ... nt/details
https://exchange.nagios.org/directory/A ... nt/details
Former Nagios employee
Re: Google Map - New Features Added
I have uploaded 2 files. Please remember to rename the .txt extension to .php before use.
map2.php - This is the alternate version of map.php that provides both of these features
buildmarkers2.inc.php - Pins the "red" markers to the host devices that are down
Both should go to the same directory where the original map.php resides. I name map2.php so one may test out these features without overriding the original map.php file.
Note: I'm looking for an alternate implementation to update the markers without doing a "browser refresh". I tried calling "initialize()" method but it did NOT update the markers. Any feedback on this is greatly appreciated.
map2.php - This is the alternate version of map.php that provides both of these features
buildmarkers2.inc.php - Pins the "red" markers to the host devices that are down
Both should go to the same directory where the original map.php resides. I name map2.php so one may test out these features without overriding the original map.php file.
Note: I'm looking for an alternate implementation to update the markers without doing a "browser refresh". I tried calling "initialize()" method but it did NOT update the markers. Any feedback on this is greatly appreciated.
You do not have the required permissions to view the files attached to this post.
Re: Google Map - New Features Added
Thanks, briannd81! Our developers will be looking into the code that you submitted.
Be sure to check out our Knowledgebase for helpful articles and solutions!