Latest subscription version and Map issues
Evening all :-)
I have had a quick look at the google page listed in the the doc, and also had a good search of google in general. I have a smallish but problematic issue with the overview page.
In the old version (before update) I did not have any issue with this, howver the page defaults to the USA, and well I am in the UK - I have tried playing around with the region setting in the Docs (not a lot is discussed about "what" it actually does, but i have had a good play) to no avail.
Google api doc page mentioned setting the region to "England" so I set :
[map] => Array ( [region] => England [resolution] => countries [dotsize] => 10 [realworld] => [api] => google-mc [zooms_per_click] => 1
But it still defaults to the USA (middle of) :/
Now the second issue is we have set the device properties > System Location to be "Greenwich View Place, London, UK" which initially showed the devices in the correct place, then after an hour or two, its now 3 miles off to the East :( (and there I was thinking - wow thats good) :)
So any help - guidance would be much appreciated :)
This is a new feature that was added recently which clusters the points on the map. A dev at our shop wrote it but didn't centered it in the us. (We're US based).
Do you have $config['frontpage']['map']['api'] set to google-mc in your config.php? If so comment this out and it should use the default of google.
On Wed, Oct 16, 2013 at 3:21 PM, Chris Pelling chris@netearth.net wrote:
Evening all :-)
I have had a quick look at the google page listed in the the doc, and also had a good search of google in general. I have a smallish but problematic issue with the overview page.
In the old version (before update) I did not have any issue with this, howver the page defaults to the USA, and well I am in the UK - I have tried playing around with the region setting in the Docs (not a lot is discussed about "what" it actually does, but i have had a good play) to no avail.
Google api doc page mentioned setting the region to "England" so I set :
[map] => Array ( [region] => England [resolution] => countries [dotsize] => 10 [realworld] => [api] => google-mc [zooms_per_click] => 1
But it still defaults to the USA (middle of) :/
Now the second issue is we have set the device properties > System Location to be "Greenwich View Place, London, UK" which initially showed the devices in the correct place, then after an hour or two, its now 3 miles off to the East :( (and there I was thinking - wow thats good) :)
So any help - guidance would be much appreciated :)
-- Kind regards, Chris
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
I've switched the default back to "google".
:D
adam.
On 2013-10-17 01:01, Jeremy Custenborder wrote:
This is a new feature that was added recently which clusters the points on the map. A dev at our shop wrote it but didn't centered it in the us. (We're US based).
Do you have $config['frontpage']['map']['api'] set to google-mc in your config.php? If so comment this out and it should use the default of google.
On Wed, Oct 16, 2013 at 3:21 PM, Chris Pelling chris@netearth.net wrote: Evening all :-)
I have had a quick look at the google page listed in the the doc, and also had a good search of google in general. I have a smallish but problematic issue with the overview page.
In the old version (before update) I did not have any issue with this, howver the page defaults to the USA, and well I am in the UK - I have tried playing around with the region setting in the Docs (not a lot is discussed about "what" it actually does, but i have had a good play) to no avail.
Google api doc page mentioned setting the region to "England" so I set :
[map] => Array ( [region] => England [resolution] => countries [dotsize] => 10 [realworld] => [api] => google-mc [zooms_per_click] => 1
But it still defaults to the USA (middle of) :/
Now the second issue is we have set the device properties > System Location to be "Greenwich View Place, London, UK" which initially showed the devices in the correct place, then after an hour or two, its now 3 miles off to the East :( (and there I was thinking - wow thats good) :)
So any help - guidance would be much appreciated :)
-- Kind regards, Chris
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
Hi Jeremy
I added to the config.php file :
$config['frontpage']['map']['api'] = google
^^ Breaks obversium (blank page) on refresh tried changing too :
$config['frontpage']['map']['api'] = FALSE
^^ breaks obversium (blank page) on refresh
With NO settings in the config.php file regarding mapping, I have on checking Global Settings :
[map] => Array ( [region] => world [resolution] => countries [dotsize] => 10 [realworld] => [api] => google-mc [zooms_per_click] => 1 )
So, trying to override it in the config.php file isn't working :/ (I removed all the map settings and started afresh) :-) So I am kinda scratching my head..
Kind regards, Chris
On 17/10/13 01:01, Jeremy Custenborder wrote:
This is a new feature that was added recently which clusters the points on the map. A dev at our shop wrote it but didn't centered it in the us. (We're US based).
Do you have $config['frontpage']['map']['api'] set to google-mc in your config.php? If so comment this out and it should use the default of google.
On Wed, Oct 16, 2013 at 3:21 PM, Chris Pelling chris@netearth.net wrote:
Evening all :-)
I have had a quick look at the google page listed in the the doc, and also had a good search of google in general. I have a smallish but problematic issue with the overview page.
In the old version (before update) I did not have any issue with this, howver the page defaults to the USA, and well I am in the UK - I have tried playing around with the region setting in the Docs (not a lot is discussed about "what" it actually does, but i have had a good play) to no avail.
Google api doc page mentioned setting the region to "England" so I set :
[map] => Array ( [region] => England [resolution] => countries [dotsize] => 10 [realworld] => [api] => google-mc [zooms_per_click] => 1
But it still defaults to the USA (middle of) :/
Now the second issue is we have set the device properties > System Location to be "Greenwich View Place, London, UK" which initially showed the devices in the correct place, then after an hour or two, its now 3 miles off to the East :( (and there I was thinking - wow thats good) :)
So any help - guidance would be much appreciated :)
-- Kind regards, Chris
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
On 10/17/2013 04:07 PM, Chris Pelling wrote:
Hi Jeremy
I added to the config.php file :
$config['frontpage']['map']['api'] = google
^^ Breaks obversium (blank page) on refresh tried changing too :
$config['frontpage']['map']['api'] = FALSE
^^ breaks obversium (blank page) on refresh
Missing semi-colon on the end of the line?
Blank pages are often caused by PHP syntax errors.
Paul
Hi Paul,
oh what a newbie error / lack of sleep (brain decided to wake up at 4am this morning for some reason and coffee just has not cut it). It was the ";"
So now the map is back to normal - good good and thank you :)
Although the addresses are not zooming in to street level, right now thats not a problem, Ill wait for the next release to play more with that :)
So I tried setings the second menu back to having bits shown when you drill down to a device which I assumed was :
$config['ports_page_default'] = "details/"; ## eg "details/" "graphs/bits/"
I set this too
$config['ports_page_default'] = "graphs/bits/"; ## eg "details/" "graphs/bits/"
Yet that didn't change anything that I could see?
Kind regards, Chris
On 17/10/13 07:14, Paul Gear wrote:
On 10/17/2013 04:07 PM, Chris Pelling wrote:
Hi Jeremy
I added to the config.php file :
$config['frontpage']['map']['api'] = google
^^ Breaks obversium (blank page) on refresh tried changing too :
$config['frontpage']['map']['api'] = FALSE
^^ breaks obversium (blank page) on refresh
Missing semi-colon on the end of the line?
Blank pages are often caused by PHP syntax errors.
Paul
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (4)
-
Adam Armstrong
-
Chris Pelling
-
Jeremy Custenborder
-
Paul Gear