https://bugs.kde.org/show_bug.cgi?id=389581
Bug ID: 389581 Summary: "Custom" maps not working if "?" character is within URL Path Product: marble Version: unspecified Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: marble-b...@kde.org Reporter: shane.h...@dsto.defence.gov.au Target Milestone: --- I was trying to create my own map server for marble and could not get it working. I tried the Google maps at https://github.com/freayd/marble-maps/ and had the same issue. The Google Maps has a URL definition of: <downloadUrl protocol="http" host="mt1.google.com" path="/vt?lyrs=m&x={x}&y={y}&z={zoomLevel}" /> I placed some print statements within ServerLayout.cpp at function CustomServerLayout::downloadUrl() and the above definition returns an example of: http://mt3.google.com/vt%3Flyrs=m&x=1&y=5&z=3 It seems that the "?" character has been replaced with "%3F" (a correct conversion, but using this link does not work. Replacing the "%3F" with the "?" character seems to fix the problem. I added the code: urlStr.replace( "%3F", "?"); So... should the substitution of "?" to "%3F"be done at this level in the code? Should another character be used within the <downloadUrl> XML syntax? Any thoughts? Thanks. Shane -- You are receiving this mail because: You are watching all bug changes.