Decided to just reinstall from a fresh tarball and getting the same issues. Google works, google-mc does not. I went with openstreetmaps for the geocoding api this time out. Geolocates fine – just no new style google map.

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Nixon, Anthony S.
Sent: Monday, July 18, 2016 4:45 PM
To: Observium Network Observation System <observium@observium.org>
Subject: Re: [Observium] Google map does not show

 

Mine – google-mc no workie. Use google as the map api and it works. F12 lets me know there is no key even though I am getting geocoding/locations. Same if I change geocoding to openstreetmap.

 

//GeoCoding

$config['geocoding']['enable']            = TRUE;

$config['geocoding']['api']               = "google";

$config['geocoding']['api_key']           = "<my google browser key here>";

$config['frontpage']['map']['api']        = "google-mc";

#$config['frontpage']['map']['region']     = "world";      // See https://developers.google.com/chart/interactive/docs/gallery/geochart for region settings

#$config['frontpage']['map']['resolution'] = "countries";  // Some region types such as US States (US-NY) require this to be changed to "provinces"

#$config['frontpage']['map']['dotsize']    = 5;            // Set the dotsize you want

#$config['frontpage']['map']['realworld']  = false;        // Enable/Disable the realworld view (blue/green), if disabled default map view

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Derek
Sent: Monday, July 18, 2016 3:19 PM
To: Observium Network Observation System <observium@observium.org>
Subject: Re: [Observium] Google map does not show

 

Here's the relevant portion to my (working) front page map:

// Set map resolution

$config['geocoding']['enable'] = TRUE;
$config['frontpage']['map']['api']                 = "google-mc";  // Set to google-mc if you have a lot of devices. (Allowed: google, google-mc)
$config['geocoding']['api']                = 'openstreetmap';               // Which GEO API use ('mapquest', 'google', 'yahoo', 'openstreetmap', 'yandex')

I'm on Observium 0.16.6.7945, subscription.

 

 

On Mon, Jul 18, 2016 at 11:43 AM, Nixon, Anthony S. <asnixon@midrex.com> wrote:

I have a browser key installed and google geolocation is working.  Is there another file or variable to set for the map to work with google-mc?

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Nixon, Anthony S.
Sent: Monday, July 18, 2016 12:24 PM


To: Observium Network Observation System <observium@observium.org>
Subject: Re: [Observium] Google map does not show

 

From F12 - Why would I be getting a key issue just for the map?

 

"Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error" js:32:179

"Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys" util.js:210:12

"Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required" util.js:210:12

 

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong
Sent: Monday, July 18, 2016 12:20 PM
To: Observium Network Observation System <observium@observium.org>
Subject: Re: [Observium] Google map does not show

 

No need to restart the webserver after making changes in or to Observium.

Observium runs at page generation time!

Adam.

Sent from BlueMail

On 18 Jul 2016, at 18:03, Derek <dandenoth@gmail.com> wrote:

F12 should bring up your console, what error does that give? Also, after you made the changes, did you restart your web server?

 

On Mon, Jul 18, 2016 at 10:15 AM, Nixon, Anthony S. <asnixon@midrex.com> wrote:

Still getting the same message using openstreetmap. I have a google key and geocoding works (as did openstreetmap). Map actually starts to display, but then reverts to the message "Oops! Something went wrong. The page didn't load Google Maps correctly. See the JavaScript console for technical details." with a gray screen. Using the setting google (old) for the map api actually works. So there is an issue with the map api? What is required to get it working? Does java need to be installed server side?

 

 

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Derek
Sent: Friday, July 15, 2016 1:07 PM
To: Observium Network Observation System <observium@observium.org>
Subject: Re: [Observium] Google map does not show

 

I'm assuming in your config.php you have the this line:

$config['frontpage']['map']['api']                 = "google-mc";

If so, you need to modify/add this line:

$config['geocoding']['api']                = 'google';

Change it to mapquest, yahoo, openstreetmap, or yandex. Google wants an API key now, but if you happen to have one, you can add this line to your config.php:

$config['geocoding']['api_key']            = '<your api key>';                

I currently am using the openstreetmaps API with no issues.

 

 

On Fri, Jul 15, 2016 at 9:54 AM, Nixon, Anthony S. <asnixon@midrex.com> wrote:

Worked during installed. Now map does not show with "Oops! Something went wrong. The page didn't load Google Maps correctly. See the JavaScript console for technical details." Is this an api issue? How to fix or update to get working? Using Observium CE 0.16.1.7533
-----------------------------------------
This message, including any attachments, is intended only for the use of the addressee and contains information that is PROPRIETARY and CONFIDENTIAL. It may be used only by the addressee and may not be divulged without the express consent of the sender. If you are not the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately. Thank you.
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

 


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

 



observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium