Alliance Google Maps not functioning (17-Feb 2022)

  • 17 February 2022
  • 23 replies
  • 544 views

Userlevel 7
Badge +21

Service Bulletin

As of 17-Feb 2022 - Google maps is not functioning with the Alliance products for many customers.  The user will encounter the following error in most cases:

 

 

In v14, the error is:

This is already with our R&D team to analyze and when we know more, this topic will be updated.

 


23 replies

Userlevel 4
Badge +10

Hi Phil thanks for the info we have the first customer case reported this morning on V15.2 and V15.4

Userlevel 4
Badge +9

Glad I’m working  remote! Most of my Dispatch Console users live by the map.

Thanks @Phil Seifert for the information. 

Userlevel 7
Badge +21

We have a temporary workaround which can be used for ONLY the Dispatch Console maps.

The issue relates to the version of the Google Maps used and by following these instructions on EACH of the servers hosting Alliance, this should allow the maps to work for a limited time until Google disables this version.

If you have access to your Alliance servers, please following these instructions:

The workaround will be available only until next Google Map Api release.

 

See instruction below for fixing the issue:

  1. On the web/applicaton servers open the file \website\Maps\Astea.GIS.Services.GoogleMaps.GoogleApiServices\initialization.js
  2. remove the read only from the file
  3. change the GoogleMapVersion to 3.46

function LoadGoogleMainScript() {

    try {

        $('#destination').hide();

 

        var MapBaseURL = window.external.getMapBaseURL();

        var key = window.external.GetMapKey();

        if (MapBaseURL == null || MapBaseURL == undefined || MapBaseURL == "" ||

            key == null || key == undefined || key == "") {

            window.external.MapErrorHandler("1071", "");

            return;

        }

 

        var googleMapsVersion = "3.46";

        var libreries = "&sensor=false&libraries=geometry,places";

        var MapURL = MapBaseURL + "js?v=" + googleMapsVersion + "&key=" + key + libreries;

    4. clear cache (on all user clients)

     5. Open Dispatch Console map

 

For our hosted customers, we will communicate when this change is made on your servers after which you can clear the client cache and work with Google Maps.

Kind regards,

Phil

 

Userlevel 4
Badge +9

Any idea when Goggle may update API again. and is IFS working on a permenant fix?

Userlevel 2
Badge +2

We have a temporary workaround which can be used for ONLY the Dispatch Console maps.

The issue relates to the version of the Google Maps used and by following these instructions on EACH of the servers hosting Alliance, this should allow the maps to work for a limited time until Google disables this version.

If you have access to your Alliance servers, please following these instructions:

The workaround will be available only until next Google Map Api release.

 

See instruction below for fixing the issue:

  1. On the web/applicaton servers open the file \website\Maps\Astea.GIS.Services.GoogleMaps.GoogleApiServices\initialization.js
  2. remove the read only from the file
  3. change the GoogleMapVersion to 3.46

function LoadGoogleMainScript() {

    try {

        $('#destination').hide();

 

        var MapBaseURL = window.external.getMapBaseURL();

        var key = window.external.GetMapKey();

        if (MapBaseURL == null || MapBaseURL == undefined || MapBaseURL == "" ||

            key == null || key == undefined || key == "") {

            window.external.MapErrorHandler("1071", "");

            return;

        }

 

        var googleMapsVersion = "3.46";

        var libreries = "&sensor=false&libraries=geometry,places";

        var MapURL = MapBaseURL + "js?v=" + googleMapsVersion + "&key=" + key + libreries;

    4. clear cache (on all user clients)

     5. Open Dispatch Console map

 

For our hosted customers, we will communicate when this change is made on your servers after which you can clear the client cache and work with Google Maps.

Kind regards,

Phil

 

file can be found at location: C:\Program Files\Astea Alliance 15.0\WebSite\Maps\Astea.GIS.Services.GoogleMaps.GoogleApiServices\MainMap\initialization.js

 

We didn’t clear the cache and it works. What cache do you mean?

Userlevel 4
Badge +9

@AnthonyCentric   How to clear browser cache

 

 

Userlevel 7
Badge +21

Please be aware, the file locations do differ between v15.3 and v15.1 for example the initialization.js is located:

v15.1

\Program Files\Astea Alliance 15.0\WebSite\Maps\GoogleMaps\MainMap

v15.3

\Program Files\Astea Alliance 15.0\WebSite\Maps\Astea.GIS.Services.GoogleMaps.GoogleApiServices\MainMap

 

 

 

Userlevel 1
Badge +3

Any idea of the location or filename for version 12.0??

We have the location \Program Files\Astea Alliance 12.0\WebSite\Maps\GoogleMaps\MainMap but there is no file called initialization.js!

Thanks.

Userlevel 7
Badge +21

@ktolkacevic 

Yes IFS R&D is working on a more permanent solution.  Unfortunately when Google may discontinue this version is not known to me.

Userlevel 7
Badge +21

@MMallinger

That is correct, the file is different in v12 than in v15.  What I am told is for V12 the name of the file is GoogleMap.htm and not initialization.js

Located in folder \website\Maps\.GoogleMaps\MainMap\GoogleMap.htm

 

The basic instruction is still the same, update the googleMapsVersion to 3.46

 

 

 

Userlevel 7
Badge +10

Also make the same change in the Website\Maps\GoogleMaps\MiniMap\GoogleMiniMap.htm file.

Userlevel 1
Badge +3

Also make the same change in the Website\Maps\GoogleMaps\MiniMap\GoogleMiniMap.htm file.

There doesn’t appear to be any reference to the googleMapsVersion in the MiniMap file.
 

Userlevel 1
Badge +3

@MMallinger

That is correct, the file is different in v12 than in v15.  What I am told is for V12 the name of the file is GoogleMap.htm and not initialization.js

Located in folder \website\Maps\.GoogleMaps\MainMap\GoogleMap.htm

 

The basic instruction is still the same, update the googleMapsVersion to 3.46

 

 

 

Thank you Phil, this has worked.

Userlevel 7
Badge +21

@MMallinger, what @Andrew D'Antonio  was referring to is this for v12.5

website\Maps\.GoogleMaps\MiniMap\GoogleMiniMap.htm

var MapURL = MapBaseURL + "js?v3.46&client=”  MapClientID+ libreries;

 

This is a change to allow the minimaps to work (the ones you see in service orders, etc.) and not for the DC Maps.

 

Userlevel 1
Badge +3

@MMallinger, what @Andrew D'Antonio  was referring to is this for v12.5

website\Maps\.GoogleMaps\MiniMap\GoogleMiniMap.htm

var MapURL = MapBaseURL + "js?v3.46&client=”  MapClientID+ libreries;

 

This is a change to allow the minimaps to work (the ones you see in service orders, etc.) and not for the DC Maps.

 

Got it. Thank you Phil.

Userlevel 4
Badge +10

HI Phil for our V15.1 or 15.2 we have applied the fix for the DC but we still have an issue on the address finder it’s not working we have an error and can’t use it. Do you have a workaround for this module ?

 

Userlevel 7
Badge +21

A document has been created as there were different instructions how to implement the changes for the work-around across different Alliance versions with instructions per version.

Also included in this document are instructions for a work-around involving the address finder.

 

Userlevel 7
Badge +21

Updated document to correct path for v14.

Userlevel 6
Badge +9

Thank you @Phil Seifert for documenting this, I’ve encountered this error while QA testing a customer, and this was very useful.

Userlevel 6
Badge +10

Thank you Phil I just encountered this issue with another customer. This post is really useful. 

Userlevel 7
Badge +21

Please note:

After applying this change and then later deploying or reinstalling a HF release prior to the latest HF releases for the respective versions, it is important you check the configuration change as they may revert.

If in doubt, please contact IFS Alliance support teams for your local area for inquiries.

 

 

Userlevel 7
Badge +21

The instructions attached above are only for earlier versions of googlemap versions.to configure as 3.46.

If your map version after updating to a later HF is now 3.47 or higher, do not revert back to a lower number or make changes to the files.  If you have an issue with maps, please contact your local Alliance support team.

Userlevel 7
Badge +21

The Alliance versions with the new control are the following:

  • V14 HF27
  • V15.1 HF12
  • V15.3 HF5 - will be released next month with the new control
  • V15.4 SU2

Therefore do not use the attached instructions with this topic for these versions or higher.

Reply