Hi Adam,
I made myself
a small work around for this issue.
It's definitely
not a perfect solution, but it helps a bit. (diff attached)
Basically I changed
the leaflet.in.php to:
- have a
higher refresh interval (from 10 to 60 seconds);
- Set higher
ZindexOffsets for the red alert icon to come on top of the green ones.
- Stop and
start the map refresh by clicking on it (instead of just using mouse over.
The browser seems to loose track of the position with the mouse over function)
I hope this may
help somehow.
Best regards,
Sergio
From:
"Adam
Armstrong via observium" <observium@observium.org>
To:
"'Observium'"
<observium@observium.org>
Cc:
"Adam
Armstrong" <adama@memetic.org>
Date:
06.07.2019
10:11
Subject:
Re:
[Observium] An issue with zooming the front page map
Sent
by: "observium"
<observium-bounces@observium.org>
We don't use page refresh to update.
The map library updates itself with geojson, but the library is doesn't
seem to correctly pause updates when we call the function.
We can't use google maps because it requires a license.
Adam.
-----Original Message-----
From: observium <observium-bounces@observium.org> On Behalf Of Chris
Macneill via observium
Sent: 06 July 2019 00:16
To: observium <observium@observium.org>
Cc: Chris Macneill <cmacneill@cmit.nz>
Subject: Re: [Observium] An issue with zooming the front page map
Instead of using page refresh to update, I would suggest making use of
WebSockets for dynamic updates. I've had a lot of success with this in
a recent project.
I use several other products that embed Google Maps API and there is not
issue with zooming in on those, but they don't get an auto page refresh
in HTML headers.
Regards
Chris Macneill
CMIT Consulting
Mobile: 021 552076
Phone: 03 280 9505
Web: www.cmit.nz
----- Original Message -----
From: "observium" <observium@observium.org>
To: "observium" <observium@observium.org>
Cc: "Adam Armstrong" <adama@memetic.org>
Sent: Friday, 5 July, 2019 21:28:50
Subject: Re: [Observium] An issue with zooming the front page map
Hi,
This is caused by a limitation in the map library. It doesn't seem to honour
the setting to disable autorefresh, so our attempts to make it stop refreshing
when there's a mouse hovering over the map are ignored by it!
adam.
On 2019-07-02 18:48, Richard Kuhns via observium wrote:
> Hello,
>
> We're currently running Observium v19.6.9959. Lately (I'm afraid I'm
> not sure when this started), when we double-click to zoom in on an
> area it only stays zoomed in for at most 10 to 15 seconds. It then
> bounces back out to its default.
>
> We're using Refresh time 5 minutes, Wikimedia map tiles, map height
> 500 pixels, Google API with our API key all set via the web interface.
>
> Is anyone else seeing this? Have I missed a config option somewhere?
>
> Thanks for any pointers.
>
> Richard J. Kuhns, Systems Administrator WINTEK CORPORATION
> P: 765-742-8428
> A: 427 North 6th Street | Lafayette, IN 47901
> w: www.wintek.com
[1] E: rjk@wintek.com
>
>
>
> Links:
> ------
> [1] http://www.wintek.com/?mc_phishing_protection_id=28396-bkg5f94na38tc6a2ob40
> _______________________________________________
> observium mailing list
> observium@observium.org
> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium?mc_phishing_protection_id=28396-bkg5f94na38tc6a2ob40
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium?mc_phishing_protection_id=28396-bkg5f94na38tc6a2ob40
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium?mc_phishing_protection_id=28396-bkg5f94na38tc6a2ob40
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium?mc_phishing_protection_id=28396-bkg5f94na38tc6a2ob40