Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - john_percy

#1051
The new version of Map Manager on my phone only allows me to make the choice of sorting once unless I exit Map Manager and re-enter it. The "Sort by" button is inactive after tapping it once. On tablet simulator it is fine.
Similarly the new version of Map Manager does not have the settings button to select/deselect types of maps. It's there on the tablet simulator.
Old version: (note the settings button, top right)

New version: (can only select "Sort by" once; settings button missing)

And please don't tell me that's intentional behaviour!  ;)
#1052
Quote from: menion on September 23, 2013, 21:50:45
from all changes, you all are stuck on semi-transparent red highlight ... funny :)

Orange is better?
It's the silly little things that don't matter that do matter the most. The overall user "feel-good" experience is what has made Apple's fortune.  :)
Yes, orange is better for the map that is visible! But, equally importantly, please use colour consistently. In Main menu | More | Functions, blue is Visible, pink is Hidden. In Quick map switch and in Maps, pink indicates the map that is visible, and blue is an active highlight.



#1053
My issues at present:

1. I agree that Add maps control in all tabs ought to look similar. Took me some hunting to realise how to add WMS
2. I have problems with missing tiles (including on vector maps), usually resolved by zooming in and out again, or by panning left or right and back again
3. Some overlays, such as the one below, appear not to cache properly. Although fine on initial display, they lose transparency when the tile is redisplayed and produce an effect like below (as reported by brotbuexe earlier)


<?xml version="1.0" encoding="UTF-8"?>
    <providers>
    <provider id="11711" type="0" visible="false" required="false" background="-1">
        <name>Overlays</name>
        <mode>Clouds base</mode>
        <url><![CDATA[http://mts{s}.google.com/mapslt?src=app&x={x}&y={y}&z={z}&lyrs=weather_0cloud&s=Galileo]]></url>
        <serverPart>0;1;2;3</serverPart>
        <zoomPart>{z}-8</zoomPart>
        <zoomMin>8</zoomMin>
        <zoomMax>14</zoomMax>
        <tileSize>256</tileSize>
        <attribution><![CDATA[(c)2013 Google]]></attribution>
        <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
        <extraHeader><![CDATA[Referer#http://maps.google.com/]]></extraHeader>
    </provider>
    <provider id="11712" type="0" visible="true" background="11711">
        <name>Overlays</name>
        <mode>Icons and Clouds</mode>
        <url><![CDATA[http://mts{s}.google.com/mapslt?src=app&x={x}&y={y}&z={z}&lyrs=weather_c_mph|invert:0&s=Galileo]]></url>
        <serverPart>0;1;2;3</serverPart>
        <zoomPart>{z}-8</zoomPart>
        <zoomMin>8</zoomMin>
        <zoomMax>26</zoomMax>
        <tileSize>256</tileSize>
        <attribution><![CDATA[(c)2013 Google]]></attribution>
        <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
        <extraHeader><![CDATA[Referer#http://maps.google.com/]]></extraHeader>
    </provider>
</providers>

PS
4. Pink. Yuk.
#1054
Maps / Re: [Overlay] Google Weather Icon Overlay
September 17, 2013, 23:30:32
Better to make another file (say) providers-overlays.xml and place in that directory. This will be read as well as the standard providers.xml from Locus tweaks and avoids any problems of messing up the original file.

Edit: Attached is my providers-overlays.xml file. Download it and drop it into the locus\mapsonline\custom folder. It includes my modified versions of the various methods suggested so far. Remember to set the "Valid for" to 1 hour for the weather and 0 for the Traffic, as described previously. There are a number of overlay versions (Traffic, Clouds, Icons, Clouds and Icons, Icons and Clouds, of which the last one can give lots of missing tiles - though setting "Valid for" to 0 for this one  vastly improves this) and a standalone map, which appears under Google in the map dialogue.

<?xml version="1.0" encoding="UTF-8"?>
    <providers>
          <provider id="11701" type="0" visible="true" background="-1">
          <name>Overlays</name>
          <mode>Traffic</mode>
          <area></area>
          <url><![CDATA[http://mts{s}.google.com/mapslt?src=app&lyrs=traffic&x={x}&y={y}&z={z}&style=15&w=256&h=256]]></url>
            <serverPart>0;1;2;3</serverPart>
          <zoomPart>{z}-8</zoomPart>
          <zoomMin>12</zoomMin>
          <zoomMax>23</zoomMax>
          <tileSize>256</tileSize>
          <attribution><![CDATA[(c)2013 Google]]></attribution>
          <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
          <extraHeader><![CDATA[Referer#http://maps.google.com/]]></extraHeader>
       </provider>   
       <provider id="11704" type="0" visible="true" background="-1">
          <name>Overlays</name>
          <mode>Clouds</mode>
          <area></area>
          <url><![CDATA[http://mts{s}.google.com/mapslt?src=app&lyrs=weather_0cloud&src=app&x={x}&y={y}&z={z}&s=Galileo]]></url>
          <serverPart>0;1;2;3</serverPart>
          <zoomPart>{z}-8</zoomPart>
          <zoomMin>8</zoomMin>
          <zoomMax>14</zoomMax>
          <tileSize>256</tileSize>
          <attribution><![CDATA[(c)2013 Google]]></attribution>
          <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
          <extraHeader><![CDATA[Referer#http://maps.google.com/]]></extraHeader>
       </provider>   
       <provider id="11705" type="0" visible="true" background="-1">
          <name>Overlays</name>
          <mode>Weather Icons</mode>
          <area></area>
          <url><![CDATA[http://mts{s}.google.com/mapslt?src=app&x={x}&y={y}&z={z}&s=Galileo&lyrs=weather_c_mph|invert:1&s=Galileo]]></url>
          <serverPart>0;1;2;3</serverPart>
          <zoomPart>{z}-8</zoomPart>
          <zoomMin>8</zoomMin>
          <zoomMax>26</zoomMax>
          <tileSize>256</tileSize>
          <attribution><![CDATA[(c)2013 Google]]></attribution>
          <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
          <extraHeader><![CDATA[Referer#http://maps.google.com/]]></extraHeader>
       </provider>
   <provider id="11710" type="0" visible="true" background="-1">
        <name>Overlays</name>
        <mode>Clouds and Icons</mode>
          <url><![CDATA[http://mts{s}.google.com/mapslt?src=app&x={x}&y={y}&z={z}&s=Galileo&lyrs=weather_0cloud,weather_c_mph|invert:1&s=Galileo]]></url>
        <serverPart>0;1;2;3</serverPart>
        <zoomPart>{z}-8</zoomPart>
        <zoomMin>8</zoomMin>
        <zoomMax>26</zoomMax>
        <tileSize>256</tileSize>
        <attribution><![CDATA[(c)2013 Google]]></attribution>
        <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
        <extraHeader><![CDATA[Referer#http://maps.google.com/]]></extraHeader>
    </provider>
    <provider id="11711" type="0" visible="false" required="false" background="-1">
        <name>Overlays</name>
        <mode>Clouds base</mode>
        <url><![CDATA[http://mts{s}.google.com/mapslt?src=app&x={x}&y={y}&z={z}&lyrs=weather_0cloud&s=Galileo]]></url>
        <serverPart>0;1;2;3</serverPart>
        <zoomPart>{z}-8</zoomPart>
        <zoomMin>8</zoomMin>
        <zoomMax>14</zoomMax>
        <tileSize>256</tileSize>
        <attribution><![CDATA[(c)2013 Google]]></attribution>
        <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
        <extraHeader><![CDATA[Referer#http://maps.google.com/]]></extraHeader>
    </provider>
    <provider id="11712" type="0" visible="true" background="11711">
        <name>Overlays</name>
        <mode>Icons and Clouds</mode>
        <url><![CDATA[http://mts{s}.google.com/mapslt?src=app&x={x}&y={y}&z={z}&lyrs=weather_c_mph|invert:0&s=Galileo]]></url>
        <serverPart>0;1;2;3</serverPart>
        <zoomPart>{z}-8</zoomPart>
        <zoomMin>8</zoomMin>
        <zoomMax>26</zoomMax>
        <tileSize>256</tileSize>
        <attribution><![CDATA[(c)2013 Google]]></attribution>
        <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
        <extraHeader><![CDATA[Referer#http://maps.google.com/]]></extraHeader>
    </provider>
    <provider id="11713" type="0" visible="false" required="false" background="-1">
        <name>Google</name>
        <mode>Satellite and Clouds</mode>
        <url><![CDATA[http://mts{s}.google.com/mapslt?src=app&x={x}&y={y}&z={z}&lyrs=s,h@1,weather_nolabels,weather_0cloud&s=Galileo]]></url>
        <serverPart>0;1;2;3</serverPart>
        <zoomPart>{z}-8</zoomPart>
        <zoomMin>8</zoomMin>
        <zoomMax>14</zoomMax>
        <tileSize>256</tileSize>
        <attribution><![CDATA[(c)2013 Google]]></attribution>
        <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
        <extraHeader><![CDATA[Referer#http://maps.google.com/]]></extraHeader>
    </provider>
    <provider id="11714" type="0" visible="true" background="11713">
        <name>Google</name>
        <mode>Weather Satellite</mode>
        <url><![CDATA[http://mts{s}.google.com/mapslt?src=app&x={x}&y={y}&z={z}&lyrs=weather_c_mph|invert:0&s=Galileo]]></url>
        <serverPart>0;1;2;3</serverPart>
        <zoomPart>{z}-8</zoomPart>
        <zoomMin>8</zoomMin>
        <zoomMax>26</zoomMax>
        <tileSize>256</tileSize>
        <attribution><![CDATA[(c)2013 Google - Map data (c)2011 Tele Atlas]]></attribution>
        <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
        <extraHeader><![CDATA[Referer#http://maps.google.com/]]></extraHeader>
    </provider>
</providers>
#1055
Maps / Re: [Overlay] Google Weather Icon Overlay
September 17, 2013, 13:06:22
But now I'm getting a Locus message "More than 1000 tiles was not saved or loaded correctly..." on all these Google weather overlays, with the number increasing by 1000s at a time. There's no error with other overlays (like Hike & Bike Hillshade). Is there something fundamentally wrong with this code?

Edit: I found that the problem was that the name I had given to the map "Weather: Clouds and Icons" was used as a filename, so the colon ( : ) was illegal. Now I have changed it to  "Weather - Clouds and Icons" and all is well!
#1056
Maps / Re: [Overlay] Google Traffic Overlay
September 16, 2013, 10:59:06
Hint: Set "Valid for" to 0 hours
#1057
Maps / Re: [Overlay] Google Weather Icon Overlay
September 16, 2013, 10:41:46
If you set the "Valid for" to zero for the above, then the satellite image has to be loaded every time, which won't help your bandwidth!
In the overlay version some posts previously, the icons enlarge ridiculously past zoom 6, so how about an overlay like this:
    <provider id="11711" type="0" visible="false" background="-1">
        <name>Overlays</name>
        <mode>Clouds</mode>
        <url><![CDATA[http://mts{s}.google.com/vt/x={x}&y={y}&z={z}&lyrs=weather_0cloud]]></url>
        <serverPart>0;1</serverPart>
        <zoomPart>{z}-8</zoomPart>
        <zoomMin>8</zoomMin>
        <zoomMax>14</zoomMax>
        <tileSize>256</tileSize>
        <attribution><![CDATA[(c)2011 Google - Map data (c)2011 Tele Atlas]]></attribution>
        <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
        <extraHeader><![CDATA[Referer#http://maps.google.com/]]></extraHeader>
    </provider>
    <provider id="11712" type="0" visible="true" background="11711">
        <name>Overlays</name>
        <mode>Weather - Clouds and Icons</mode>
        <url><![CDATA[http://mts{s}.google.com/mapslt?x={x}&y={y}&z={z}&lyrs=weather_c_kph|invert:0]]></url>
        <serverPart>0;1</serverPart>
        <zoomPart>{z}-8</zoomPart>
        <zoomMin>8</zoomMin>
        <zoomMax>23</zoomMax>
        <tileSize>256</tileSize>
        <attribution><![CDATA[(c)2011 Google - Map data (c)2011 Tele Atlas]]></attribution>
        <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
        <extraHeader><![CDATA[Referer#http://maps.google.com/]]></extraHeader>
    </provider>

Clouds only appear up to zoom 6, which seems the most usable arrangement, as they then do not obscure map detail when you want it.
The "Clouds" layer 11711 in my code above does not appear in the Locus menu, but is used to build the overlay.
PS It might be best to set "Valid for" to 1 hour in any case, as weather really doesn't change that quickly, even in England.
#1058
 :) And now working for me. Thanks
#1059
Maps / Re: [Overlay] Google Weather Icon Overlay
September 10, 2013, 19:47:08
Me too. No clouds with this xml file, I'm afraid.

The good news is that the latest version of Locus works with the overlays at all zooms. So the clouds are zoom with the map (fine) and the  icons similarly (not so fine, but useful)

#1060
Quote from: menion on September 06, 2013, 12:56:09
@kech: really? damn .. I hoped all is tested and working. Hmm ... oki, I'll look at it
Centred captions worked on one of the beta test versions, then went so swiftly I thought it was a dream.
#1061
Quote from: john_percy on August 27, 2013, 18:11:59
Which items of text are now centred?
@Menion: If only Netherlands cycle nodes have been centred, can you please look at the default alignment of captions generally.
The attachments (I can't get them to show inline on this new forum) show text alignment on Locus default theme compared to an OSM rendering.
OSM centres the caption and puts it under the icon. Locus left aligns the text and starts it centrally under the icon which loses some of the text of the caption. OSM is better.

Edit: Found how to add images to the post!

#1062
Which items of text are now centred?
#1063
Quote from: "menion"funny discussion .. where is point? Settings a panel is simple .. all buttons that are already visible on top or right panel, cannot be added twice!! So if you want a compass at top and this button is already at right panel, you firstly need to remove it from right panel.
I worked that out, and I can understand why, but it wasn't obvious to me at first.
#1064
Themes - Vector maps / Re: [Themes] V-Scale
August 09, 2013, 16:17:51
Quote from: "voldapet"Hi,
do have any example (coordinates) for Locus internal themes, please? I've checked your example with major power lines and they seem OK for internal theme with England map.
At N 52°10.877' W 01°00.130' the minor ticks (blobs) disappear at zoom 20 and above, and the major ticks disappear at zoom 22 (using internal Hiking theme and England map).
Exactly what happens seems to depend on the tile (probably not the orientation of the power line as I first thought) but for most tiles, the minor ticks (blobs) disappear at zoom 22. For example, at zoom 20 at N 52°11.244' W 01°00.538' (where tiles seem to join) the minor ticks are visible on the portion of the power line to the NW, but not to the SE at zoom 20. At that location, at zoom 22, minor ticks disappear on the NW section of the power line and both major and minor ticks disappear on the SE section.
[attachment=0:fj0bw9an]2013-08-09 15.14.07.jpg[/attachment:fj0bw9an]
#1065
Themes - Vector maps / Re: [Themes] V-Scale
August 09, 2013, 10:53:11
The points illustrated above are: N 52° 10.877' W 01° 00.129' and N 52° 10.574' W 00° 59.969'

The similar problem occurs with the Locus England map and the Locus built in Hiking & Cycling themes, which display major power lines (though I initially thought they did not).