Loading...
 
Skip to main content

Features / Usability


Maps Glitchy

posts: 764 United States

Hello fine folks.
Tiki v28.3 is having a hard time displaying layers in maps, if I have only openstreet layer the map displays, if I try to invoke more layers such as:
openstreetmap, mapquest_street, mapquest_aerial, google_street, google_satellite,

I get the following error and map does not display:
Screenshot 2025 04 01 204003

As well, I am unable to assign geolocation to wiki page, blog, or articles using:

Copy to clipboard
{map scope="all" controls="controls,layers,search_location,levels,streetview,navigation,coordinates" center="-50,43.8" popupstyle="bubble" tooltips="y"} !!!List of geolocated pages {LIST()} {filter type="wiki page"} {filter content="y" field=geo_located} {LIST} {appframe min="0" hideleft="y" hideright="y" fullpage="n" absolute="n"}


Any guidance is appreciated.

posts: 126894 United Kingdom

Hi John

I haven't had time to even check out 28.x yet (which is a first since Tiki 2ish) but it was discussed on Matrix/Gitter here recently.

posts: 764 United States
Jonny Bradley wrote:

Hi John

I haven't had time to even check out 28.x yet (which is a first since Tiki 2ish) but it was discussed on Matrix/Gitter here recently.


Thank you Jonny, I'll take a look over there.


posts: 2 Democratic Republic of the Congo
John Morris wrote:

Hello fine folks.
Tiki v28.3 is having a hard time displaying layers in maps, if I have only openstreet layer the map displays, if I try to invoke more layers such as:
openstreetmap, mapquest_street, mapquest_aerial, google_street, google_satellite,

I get the following error and map does not display:
Screenshot 2025 04 01 204003

As well, I am unable to assign geolocation to wiki page, blog, or articles using:

Copy to clipboard
{map scope="all" controls="controls,layers,search_location,levels,streetview,navigation,coordinates" center="-50,43.8" popupstyle="bubble" tooltips="y"} !!!List of geolocated pages {LIST()} {filter type="wiki page"} {filter content="y" field=geo_located} {LIST} {appframe min="0" hideleft="y" hideright="y" fullpage="n" absolute="n"}


Any guidance is appreciated.


Hi John, Give me a moment, I'll check.

posts: 764 United States
Joël MPUNGA wrote:
Hi John, Give me a moment, I'll check.


Thanks Joel, I should also clarify, I misspoke, what I should of said is assigning geolocation to wiki pages, articles and blog via editor, is not working.
The syntax I displayed above is how I list it and display it on map.
Sorry about that.

posts: 2 Democratic Republic of the Congo
John Morris wrote:

Thanks Joel, I should also clarify, I misspoke, what I should of said is assigning geolocation to wiki pages, articles and blog via editor, is not working.
The syntax I displayed above is how I list it and display it on map.
Sorry about that.

Oh right, John, I finally get it. Thanks!
I apologize for the short delay in getting back to you.
I've tried to look at the origin of this problem. Unless I'm mistaken, my conclusions are as follows:
Which is true:
- Starting with 28.x we upgraded from v2 to v3, leaving “openlayers 6.9” for “openlayers 10.3”.
Referring to the message in Tiki on /tiki-admin.php?page=maps which reads:
Valid options for OpenLayers 2 are: openstreetmap, mapquest_street, mapquest_aerial, google_street, google_satellite, google_physical, google_hybrid, blank and for OpenLayers 3+ are: openstreetmap, bing_road, bing_road_on_demand, bing_aerial, bing_aerial_with_labels, bing_collins_bart, bing_ordnance_survey.

apart from the 'openstreetmap' layer, which works correctly, most of the other layers return this: error message
- This version change requires a lot of code and functions to review and change; See this.

What I assume:
- We'll rearrange the functions to make them compatible with version v3 and so, I guess, this problem will be solved that way.
- We'll try to configure the API keys, which may solve the problem.

Here's an example of the JSON returned when I try to access the API. This is apparently linked either to the key or to a version change requiring some readjustment.

Copy to clipboard
{ "authenticationResultCode": "NoCredentials", "brandLogoUri": "https://dev.virtualearth.net/Branding/logo_powered_by.png", "copyright": "Copyright © 2025 Microsoft and its suppliers. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from Microsoft Corporation.", "errorDetails": [ "Access was denied. You may have entered your credentials incorrectly, or you might not have access to the requested resource or operation." ], "resourceSets": [], "statusCode": 401, "statusDescription": "Unauthorized", "traceId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" }
posts: 764 United States
Joël MPUNGA wrote:

Oh right, John, I finally get it. Thanks!
I apologize for the short delay in getting back to you.
What I assume:
- We'll rearrange the functions to make them compatible with version v3 and so, I guess, this problem will be solved that way.
- We'll try to configure the API keys, which may solve the problem.


Well you got back to this pretty quick Joel, no delay at all! Thanks
And thank you for the answers.
Now when you say we need to try to configure API keys, is this on the end of the devs to do this? I already have my configured API's active in admin/maps for both Bing and Google.

Also, should I open this issue up in tracker bugs so you all can keep track of it in that manner?
Thanks again Joel, great work sir!