[Overlay] Tile Number Overlay

Started by ta-ka, October 31, 2013, 17:58:06

0 Members and 1 Guest are viewing this topic.

ta-ka

This is interesting, isn't it?




<?xml version="1.0" encoding="UTF-8"?>
<providers>
    <provider id="11800" type="0" visible="true" background="-1">
        <name>Tile Number</name>
        <mode>Type 0 : Spheric, Inverse Y</mode>
        <url><![CDATA[http://chart.apis.google.com/chart?chs=256x256&chf=bg,lg,45,efefef80,0,bbbbbb80,1&chst=d_text_outline&chld=ff0000|22|h|ffffff|b||||Zoom%20{z}|X,Y%20%20:%20%20{x},%20{y}|||||_____________________]]></url>
        <zoomPart>{z}-8</zoomPart>
        <zoomMin>8</zoomMin>
        <zoomMax>30</zoomMax>
        <tileSize>256</tileSize>
        <attribution><![CDATA[Type 0 - Mercator projection, Spheric, Inverse Y]]></attribution>
        <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
    </provider>
    <provider id="11801" type="1" visible="true" background="-1">
        <name>Tile Number</name>
        <mode>Type 1 : Spheric, Normal Y</mode>
        <url><![CDATA[http://chart.apis.google.com/chart?chs=256x256&chf=bg,lg,45,efefef80,0,bbbbbb80,1&chst=d_text_outline&chld=ff0000|22|h|ffffff|b||||Zoom%20{z}|X,Y%20%20:%20%20{x},%20{y}|||||_____________________]]></url>
        <zoomPart>{z}-8</zoomPart>
        <zoomMin>8</zoomMin>
        <zoomMax>30</zoomMax>
        <tileSize>256</tileSize>
        <attribution><![CDATA[Type 1 - Mercator projection, Spheric, Normal Y]]></attribution>
        <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
    </provider>
    <provider id="11802" type="2" visible="true" background="-1">
        <name>Tile Number</name>
        <mode>Type 2 : Ellipsoid, Inverse Y</mode>
        <url><![CDATA[http://chart.apis.google.com/chart?chs=256x256&chf=bg,lg,45,efefef80,0,bbbbbb80,1&chst=d_text_outline&chld=ff0000|22|h|ffffff|b||||Zoom%20{z}|X,Y%20%20:%20%20{x},%20{y}|||||_____________________]]></url>
        <zoomPart>{z}-8</zoomPart>
        <zoomMin>8</zoomMin>
        <zoomMax>30</zoomMax>
        <tileSize>256</tileSize>
        <attribution><![CDATA[Type 2 - Mercator projection, Ellipsoid, Inverse Y]]></attribution>
        <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
    </provider>
    <provider id="11803" type="3" visible="true" background="-1">
        <name>Tile Number</name>
        <mode>Type 3 : Ellipsoid, Normal Y</mode>
        <url><![CDATA[http://chart.apis.google.com/chart?chs=256x256&chf=bg,lg,45,efefef80,0,bbbbbb80,1&chst=d_text_outline&chld=ff0000|22|h|ffffff|b||||Zoom%20{z}|X,Y%20%20:%20%20{x},%20{y}|||||_____________________]]></url>
        <zoomPart>{z}-8</zoomPart>
        <zoomMin>8</zoomMin>
        <zoomMax>30</zoomMax>
        <tileSize>256</tileSize>
        <attribution><![CDATA[Type 3 - Mercator projection, Ellipsoid, Normal Y]]></attribution>
        <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
    </provider>
    <provider id="11804" type="4" visible="true" background="-1">
        <name>Tile Number</name>
        <mode>Type 4 : Spheric, Y from Center</mode>
        <url><![CDATA[http://chart.apis.google.com/chart?chs=256x256&chf=bg,lg,45,efefef80,0,bbbbbb80,1&chst=d_text_outline&chld=ff0000|22|h|ffffff|b||||Zoom%20{z}|X,Y%20%20:%20%20{x},%20{y}|||||_____________________]]></url>
        <zoomPart>{z}-8</zoomPart>
        <zoomMin>8</zoomMin>
        <zoomMax>30</zoomMax>
        <tileSize>256</tileSize>
        <attribution><![CDATA[Type 4 - Mercator projection, Spheric, Y from Center]]></attribution>
        <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
    </provider>
    <provider id="11805" type="5" visible="true" background="-1">
        <name>Tile Number</name>
        <mode>Type 5 : Spheric, Quadkey</mode>
        <url><![CDATA[http://chart.apis.google.com/chart?chs=256x256&chf=bg,lg,45,efefef80,0,bbbbbb80,1&chst=d_text_outline&chld=ff0000|22|h|ffffff|b||||Quadkey|{c}|||||_____________________]]></url>
        <zoomPart>{z}-8</zoomPart>
        <zoomMin>8</zoomMin>
        <zoomMax>30</zoomMax>
        <tileSize>256</tileSize>
        <attribution><![CDATA[Type 5 - Mercator projection, Spheric, Quadkey]]></attribution>
        <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
    </provider>
</providers>


To understand the parameters for background color/transparency/gradation and font size/color/position, please refer the links below.
http://imagecharteditor.appspot.com/ -> Editor tab -> Fills -> Background
https://developers.google.com/chart/image/docs/gallery/dynamic_icons#outlined_text
  •  

gynta

Quote from: ta-kaThis is interesting, isn't it?
nope  ;D

:-X

ta-ka

  •