Hello Jeroen,
replacing the & by &amp is the trick - thanks.
My Google maps TMS file is now:
<TMS>
 <Title>Google - Maps</Title>
 <MinZoomLevel>1</MinZoomLevel>
 <MaxZoomLevel>1024</MaxZoomLevel>
 <Layer>
  <ServerUrl>http://mt.google.com/vt/lyrs=m&amp;x=%2&amp;y=%3&amp;z=%1<
/ServerUrl>;
 </Layer>
 <Copyright>Google Inc.</Copyright>
</TMS>
Very fast zooming and panning - makes fun with QMS ...
Best regards
Karl ...
Am Sonntag, den 08.01.2017, 18:36 +0100 schrieb Jeroen N. Witmond:
> On 2017-01-08 18:07, Karl Karsten wrote:
> > 
> > Hello,
> > 
> > I am just testing the migration of my QLandkarteGT projects to the
> > new
> > QMapShack tool.
> > 
> > First of all, a really big step forward in the last months,
> > congratulation to the developer team of this great application.
> > 
> > All works fine so far, except the integration of my Google Maps.
> > 
> > In QL there is the possibility to create stream TMS maps by using a
> > small QL dialog and the following ULRs:
> > 
> > Google Stream Maps
> > Google - Hybrid http://mt.google.com/vt/lyrs=y&x=%2&y=%3&z=%1
> > Google - Maps    http://mt.google.com/vt/lyrs=m&x=%2&y=%3&z=%1
> > Google - Satellite http://mt.google.com/vt/lyrs=s&x=%2&y=%3&z=%1
> > Google - Terrain http://mt.google.com/vt/lyrs=t&x=%2&y=%3&z=%1
> > 
> > I tried to create a TMS file "Google - Maps.tms" similar to the
> > existing QMS TMS ones:
> > 
> > <TMS>
> >  <Title>Google - Maps</Title>
> >  <MinZoomLevel>1</MinZoomLevel>
> >  <MaxZoomLevel>1024</MaxZoomLevel>
> >  <Layer idx="0">
> > 
> > http://mt.google.com/vt/lyrs=m&x=%2&y=%3&z=%1
> > >;;
> I'm no expert on this subject, but ...
> you could try the following:
> 1. remove the ; following </ServerUrl>
> 2. replace all & with &amp;
> 3. replace all % with &#37;
> 
> Regards,
> 
> Jeroen.
> 
> > 
> >  </Layer>
> >  <Copyright>Google Inc.</Copyright>
> > </TMS>
> > 
> > When activation the map file in QMS an error windows appears:
> > 
> > "Lesen fehlgeschlagen: /home/karl/GPS/Karten/Google - Maps.tms
> > 
> > Zeile 6, Spalte 46:
> > 
> > error occurred while parsing reference"
> > 
> > There is no further debug information in my console.
> > 
> > Is the format of the URL still valid for QMS? Or what to do for
> > activating the Google Maps?
> > 
> > Any help is appreciated - many thanks.
> > 
> > Best regards
> > 
> > Karl ...
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to