Page 1 of 2

New Google Map Layer and function [DEPRECATED]

Posted: Wed Jul 10, 2013 2:04 am
by sfdanny
Hi

1- Is there a way to integrate the Google Map Weather Layer ?

https://developers.google.com/maps/docu ... ther?hl=es

2- Exist plugin or something to show info in pop up when I click a vehicle ?

Thanks

RE: New Google Map Layer and function [DEPRECATED]

Posted: Wed Jul 10, 2013 2:49 am
by piter197
This is a good idea.
@Support, any chance that this feature will be added by GpsGate team?

Best Regards,
piter197

RE: New Google Map Layer and function [DEPRECATED]

Posted: Wed Jul 10, 2013 12:51 pm
by kalmangabriel
Weather Layer is already included in Google Map plugin, it needs only a few lines of code to activate it... you have my contact details if you need it... it's as easy as copy/paste... and it's free... even more there are a few styled maps in it...
Cheers,

<font color="red">Please note that my reply IS NOT from GpsGate!!!</font id="red">
------------------------------------------
<font size="1">Email: tech@scorpiontrack.ro Skype: gabrielkalman
Internet: It doesn't make you more stupid, it just makes your stupidity more accessible to others</font id="size1">

RE: New Google Map Layer and function [DEPRECATED]

Posted: Wed Jul 10, 2013 7:52 pm
by sfdanny
@kalmangabriel, thanks a lot, your solution works perfectly and is pretty awesome.

Thank you so much.

RE: New Google Map Layer and function [DEPRECATED]

Posted: Thu Jul 11, 2013 2:50 pm
by Mineware
Thanks Gabriel worked great!
I just need to get the weather channel to accept data from my local weather station....

Chad

RE: New Google Map Layer and function [DEPRECATED]

Posted: Thu Jul 11, 2013 7:09 pm
by Fredrik
cool that you found and hacked it! ;) - But please be aware that manual modifications to a file like this will not survive a plugin update and that we can't/won't give "deep" support on this.
If you find(fix!) bugs or have good improvements feel free to send it to us though!

Btw, how did you expose the feature in UI? (Simply enabling weather will hide most map labels for example). Best would be to add another stateful button (checkbox), similar to traffic I'd say.

We'll see what can be done in future upgrades.


Regards,
Fredrik Blomqvist

GpsGate Support

RE: New Google Map Layer and function [DEPRECATED]

Posted: Thu Jul 11, 2013 8:09 pm
by kalmangabriel
Hey Fredrik,

I've just followed the way Traffic is added to the map.. and it has a Weather button just like the Traffic button... even more, it has some nice styled maps included and OSM activated as well...
Here is the modified Google Map plugin... maybe you are able to check and improve my pretty lame coding...
http://ggs.scorpiontrack.ro/Google_Maps.zip

Cheers,

For anyone else, just unzip and replace Google Maps folder in IIS\Resources\ScriptPlugins\com.GpsGate\ on your server, then reload the application clearing your browser's cache. Make sure you have a backup of the original Google Maps folder before doin' anything fancy...

<font color="red">Please note that my reply IS NOT from GpsGate!!!</font id="red">
------------------------------------------
<font size="1">Email: tech@scorpiontrack.ro Skype: gabrielkalman
Internet: It doesn't make you more stupid, it just makes your stupidity more accessible to others</font id="size1">

RE: New Google Map Layer and function [DEPRECATED]

Posted: Thu Jul 11, 2013 9:11 pm
by Fredrik
looks good, nice same thinking :)
Well, we'll see if we can include it in a future upgrade hopefully.
(why did you strip all comments btw?)

Regards,
Fredrik Blomqvist

GpsGate Support

RE: New Google Map Layer and function [DEPRECATED]

Posted: Thu Jul 11, 2013 9:22 pm
by kalmangabriel
i didn't with a purpose... it was just "minimized" then "beautified" back at some point to fix something... :)

<font color="red">Please note that my reply IS NOT from GpsGate!!!</font id="red">
------------------------------------------
<font size="1">Email: tech@scorpiontrack.ro Skype: gabrielkalman
Internet: It doesn't make you more stupid, it just makes your stupidity more accessible to others</font id="size1">

RE: New Google Map Layer and function [DEPRECATED]

Posted: Fri Jul 12, 2013 6:12 pm
by Fredrik
aha, ok. Easier to diff files if changes are as small as possible though.
(plan to minimize more plugins by default later btw).

Regards,
Fredrik Blomqvist

GpsGate Support

RE: New Google Map Layer and function [DEPRECATED]

Posted: Fri Apr 04, 2014 9:59 pm
by dcalhoun
Is there a way to change the temperature from Celsius to Fahrenheit

RE: New Google Map Layer and function [DEPRECATED]

Posted: Fri Apr 04, 2014 10:35 pm
by kalmangabriel
yes...

find

var weatherLayer = new google.maps.weather.WeatherLayer();

replace with

var weatherLayer = new google.maps.weather.WeatherLayer({temperatureUnits: google.maps.weather.TemperatureUnit.FAHRENHEIT});

more info

https://developers.google.com/maps/docu ... er-weather

<font color="red">Please note that my reply IS NOT from GpsGate!!!</font id="red">
------------------------------------------
<font size="1">Email: tech@scorpiontrack.ro Skype: gabrielkalman
Internet: It doesn't make you more stupid, it just makes your stupidity more accessible to others</font id="size1">

RE: New Google Map Layer and function [DEPRECATED]

Posted: Sat Apr 05, 2014 5:07 pm
by qtech
very good i test it!

RE: New Google Map Layer and function [DEPRECATED]

Posted: Sat Apr 05, 2014 6:46 pm
by kalmangabriel
@qtech
sweet, you can buy me a pony :D

<font color="red">Please note that my reply IS NOT from GpsGate!!!</font id="red">
------------------------------------------
<font size="1">Email: tech@scorpiontrack.ro Skype: gabrielkalman
Internet: It doesn't make you more stupid, it just makes your stupidity more accessible to others</font id="size1">

RE: New Google Map Layer and function [DEPRECATED]

Posted: Sun Dec 20, 2015 9:57 am
by Alon
Hi,
This weather option seems to be broken. Any plan for GGS official support on this?
Thanks.