Map panel not working

Started by DigPeter, October 13, 2019, 07:23:50 PM

Previous topic - Next topic

DigPeter

I normally reside in UK where the map panel functions normally.  I have just returned from Spain.  When opening the map panel there, the map flashes up to be immediately obscured by a message starting "Whoops" and referring to java script (sorry, I did not note the exact wording). This occurred irrespective of the type of map selected. I am now back in UK and the panel is functioning again.

What needs to be done to to be able to use the map panel anywhere in the World?

Mario

Please

1. Provide details about the IMatch version used.
2. The exact error message.
3. Your map panel settings (for example, which provider you use).
4. The IMatch log file

I have successfully used the map panel in many places of this world. And I have never seen a similar error report.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

jch2103

Quote from: Mario on October 13, 2019, 07:26:40 PM
I have successfully used the map panel in many places of this world.
That's been my experience also.
John

DigPeter

Quote from: Mario on October 13, 2019, 07:26:40 PM
Please

1. Provide details about the IMatch version used.
2. The exact error message.
3. Your map panel settings (for example, which provider you use).
4. The IMatch log file

I have successfully used the map panel in many places of this world. And I have never seen a similar error report.
I have the latest version.
Sorry I cannot provide exact message nor the log, as the error does not repeat in UK.
The map settings are shown on the attached.  I do not use HERE, but the other maps are OK in UK, but did not work in Spain.

DigPeter

Quote from: jch2103 on October 13, 2019, 07:32:13 PM
Quote from: Mario on October 13, 2019, 07:26:40 PM
I have successfully used the map panel in many places of this world.
That's been my experience also.
And mine on earlier versions until this latest visit.

Mario

I'm not sure. Do you use OpenStreetMap? You did not specify. You just said that you don't use HERE maps. But some maps are working? Or not?
Maybe their servers are down or there is an IP block for your location?
OSM works here, also all other map providers.

Check the Output Panel (Apps) for error messages logged by the Map Panel app.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

DigPeter

Quote from: Mario on October 13, 2019, 07:57:58 PM
I'm not sure. Do you use OpenStreetMap? You did not specify. You just said that you don't use HERE maps. But some maps are working? Or not?
Maybe their servers are down or there is an IP block for your location?
OSM works here, also all other map providers.

Check the Output Panel (Apps) for error messages logged by the Map Panel app.
I tried Open Street, Bing & Google maps.  None of them worked over the last 8 days in Spain, but do work in UK, now that I have just returned.

Mario

Then this is not some problem in IMatch.
Sounds more like your account is not enabled for the Spain IP range or something like that.

The the provider returns an error code it should be in the Output panel for Apps or in the IMatch log file.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

DigPeter

The problem has occurred again here in UK.  Attached are the warning message and the log file.

DigPeter

Reverse geocoding still works.

Mario

This message comes from Google.
Are your Google Maps credentials OK? Not expired or anything?
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

DigPeter

Quote from: Mario on October 14, 2019, 06:12:18 PM
This message comes from Google.
Are your Google Maps credentials OK? Not expired or anything?
I do not know.  How do I find out?

Mario

1. Have you entered credentials for Google Maps in IMatch under Edit > Preferences > Geo & Maps?
2. If not, you cannot use Google Maps.
3. If you have, log into the Google Dashboard using your user name and password and make sure your API key is valid.

See https://www.photools.com/imatch/api-keys-explained/ for more info.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

DigPeter

Thanks Mario.

Quote from: Mario on October 14, 2019, 06:50:31 PM
1. Have you entered credentials for Google Maps in IMatch under Edit > Preferences > Geo & Maps?
2. If not, you cannot use Google Maps.
API codes are entered for both Google Maps and Bing.

Quote
3. If you have, log into the Google Dashboard using your user name and password and make sure your API key is valid.
Sorry - where/what is the Google Dashboard?  I have tried the 'how to' link in your last reply and managed to create a new API key which I have entered in IMatch preferences, but still cannot get a map.

The error message attached to my earlier reply refers specifically to Google Maps, but I cannot get Bing or Open Street now.  When I change the map source in the map panel, the error message remains and the new map does not appear.

The error mentions also mentions JavaScript Console, which I do not know how to find and would probably not understand. 

I have very little technical knowledge, so would be grateful for detailed guidance please.

Mario

Quotethe error message remains and the new map does not appear.

Are you using the latest version of IMatch 2019?
There was a but some time ago where the Map panel could not switch to another map provider when one provider returned an error.

The output panel is part of IMatch. You can open it via View menu > Panels > Output Panel.
Switch to the "Apps" tab to see error messages logged by apps.
There may also be something in the debug log file. Switch to debug logging (Help > Support > Debug Logging) and then do whatever you do. Then search the log for lines containing W> or E>.
Or attach.

See log file
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

DigPeter

Yes - I have the latest version.  No W> or E> in the debug file.

Problem seems to have solved itself.  I removed the map panel and reactivated it with F9-P.  Now all map sources are functioning again with a new Google API code. 

There does seem to have been something quirky going on.

Thanks for your help.