This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Google Maps in Orion NPM - How to Video

I've made some changes to the original Google Maps that I introduced about this time last year. This version provides a status icon on the map for each unique latitude and longitude value in the database. I'm leaving the old one up as it is better for environments where a large number of sites exist, and would simply be too cluttered with a status icon at each site.

Prerequisites:

1) Obtain Google API Key for Maps v3

2) Create and populate Custom Properties:

  • Country
  • City
  • Latitude
  • Longitude

Installation:

Copy files to the c:\inetpub\SolarWinds\Orion\GoogleMap\

Update your connection string and API key

Create a view in NPM using the Custom HTML resource, configure iFrame

See the movie (how to install the mod):

2013-07-25_10-43-25 - YouTube

Read the book (asp files, readme, notes on GitHub):

https://gist.github.com/BarefootAtomic/a396a12541ff97a2ce1f

map.png

Enjoy!

Andrew LaGrone, SCP#1368

GoogleMap1.4.zip
Parents
  • After looking at the code, I had a bunch of errors in it. I isolated the map on a single page and looked at each of the errors and fixed them ( A ] after my database name, on a few of the files and the &sensor=true after the API key is unnecessary any longer I also had a problem with the select statement. Not sure how that was all working before the upgrade but still)  I've saved a clean version and am going to upload it to github as a fork If I can figure out how to do that.

Reply
  • After looking at the code, I had a bunch of errors in it. I isolated the map on a single page and looked at each of the errors and fixed them ( A ] after my database name, on a few of the files and the &sensor=true after the API key is unnecessary any longer I also had a problem with the select statement. Not sure how that was all working before the upgrade but still)  I've saved a clean version and am going to upload it to github as a fork If I can figure out how to do that.

Children
No Data