GoogleMaps refresh Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
michelscholte
Posts: 75
Joined: Friday 08 January 2016 10:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Nederland
Contact:

GoogleMaps refresh

Post by michelscholte »

Is there a posibility to refresh the GoogleMaps option in Dashticz (automatic or by hand). I tried the refresh option, I use in other special blocks such as "alarmmeldingen" and "traffic info", but that doesn't work.
Attachments
Knipsel.JPG
Knipsel.JPG (221.13 KiB) Viewed 1241 times
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: GoogleMaps refresh

Post by Lokonli »

The GoogleMaps block is one of the blocks I never had a look at nor tested.

I'll change it into a regular Dashticz component, including refresh option.
michelscholte
Posts: 75
Joined: Friday 08 January 2016 10:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Nederland
Contact:

Re: GoogleMaps refresh

Post by michelscholte »

Lokonli,

Thanks for your reply. I can't wait to test 😀
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: GoogleMaps refresh

Post by Lokonli »

michelscholte wrote: Saturday 13 May 2023 9:44 Lokonli,

Thanks for your reply. I can't wait to test 😀
Can you test Dashticz 3.10.7?
(update with git pull)

Several things changed. Please read the documentation:
https://dashticz.readthedocs.io/en/beta ... emaps.html

You may have to change your styling as well.
michelscholte
Posts: 75
Joined: Friday 08 January 2016 10:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Nederland
Contact:

Re: GoogleMaps refresh

Post by michelscholte »

I've installed the new version and add the new block to my config.js.
It looks good, There is no traffic at this time, so it is difficult now to check if the refresh works.
If I click on the manual refresh, nothings happens, but again there is now traffic now so diffcult to check.
I will test it tomorrow morning and let you know.

Suggestion, is it possible to add a last update field?
Question, is also the trafficinfo.js changed?

Thanks for your great work.
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: GoogleMaps refresh

Post by Lokonli »

No change in trafficinfo.js

I will add the lastupdate info.
(did that already for a route)
michelscholte
Posts: 75
Joined: Friday 08 January 2016 10:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Nederland
Contact:

Re: GoogleMaps refresh

Post by michelscholte »

All works very well. Also the routemap is a nice to have and works great.

I have one comment. The manual refresh button is located at the upper right corner, but since google places his full screen icon also in this corner I think its better to place the icon on te left lower corner.
Knipsel.JPG
Knipsel.JPG (9.51 KiB) Viewed 1113 times
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: GoogleMaps refresh

Post by Lokonli »

I noticed the routemap doesn't take the actual traffic information into account. On the Google website I've found some information how to fix that. I'll try to implement that this weekend.

I'll move the refresh button to the lower left, and add the lastupdate information.
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: GoogleMaps refresh

Post by Lokonli »

michelscholte wrote: Friday 16 June 2023 9:18 All works very well. Also the routemap is a nice to have and works great.

I have one comment. The manual refresh button is located at the upper right corner, but since google places his full screen icon also in this corner I think its better to place the icon on te left lower corner.
Knipsel.JPG
Can you test latest version? (Update with git pull)

Route information should now also take actual traffic conditions into account.
michelscholte
Posts: 75
Joined: Friday 08 January 2016 10:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Nederland
Contact:

Re: GoogleMaps refresh

Post by michelscholte »

Lokonli wrote: Sunday 18 June 2023 21:11
michelscholte wrote: Friday 16 June 2023 9:18 All works very well. Also the routemap is a nice to have and works great.

I have one comment. The manual refresh button is located at the upper right corner, but since google places his full screen icon also in this corner I think its better to place the icon on te left lower corner.
Knipsel.JPG
Can you test latest version? (Update with git pull)

Route information should now also take actual traffic conditions into account.
Unfortunately, I am not able to test it in 2 weeks. I will let you know later.
Thank you.
michelscholte
Posts: 75
Joined: Friday 08 January 2016 10:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Nederland
Contact:

Re: GoogleMaps refresh

Post by michelscholte »

Hi Lokonli,

I've tested the latest version. Refresh icon is now on the left lower corner. The routemap looks nice and it takes into account the actual traffic info (checked with maps on my mobile phone). On the routemap I see the lastupdate near to the refresh button, but on the trafficmap the lastupdate is empty. I only see a refresh buton.
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: GoogleMaps refresh

Post by Lokonli »

michelscholte wrote: Friday 07 July 2023 14:30 Hi Lokonli,

I've tested the latest version. Refresh icon is now on the left lower corner. The routemap looks nice and it takes into account the actual traffic info (checked with maps on my mobile phone). On the routemap I see the lastupdate near to the refresh button, but on the trafficmap the lastupdate is empty. I only see a refresh buton.
Fixed in latest version.

Thanks for testing and reporting.
michelscholte
Posts: 75
Joined: Friday 08 January 2016 10:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Nederland
Contact:

Re: GoogleMaps refresh

Post by michelscholte »

Tested with the latest version.
Great. It works perfectly.

Thanks again for your help and the work you put into it.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest