The Wiki for Tale 4 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.
If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.
Difference between revisions of "User:Mayanah/map"
Line 1: | Line 1: | ||
− | = USING | + | = USING ALTERNATE ICONS IN MAPS = |
+ | |||
+ | |||
+ | == Explanation == | ||
+ | When you create a map it inserts code into your page using the '''<nowiki><googlemap></nowiki>''' begin tag and the '''<nowiki></googlemap></nowiki>''' end tag. By default the maps use those teardrop shaped icons. To use different icons, you have to add a few parameters to the '''<nowiki><googlemap></nowiki>''' begin tag or use full labels for each individual marker. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | == Figuring out the parameter for the icon you want == | ||
+ | |||
+ | There are a few different types of icons with a few different colors. The icons do have a naming convention. They all start with the name marker.png | ||
+ | To use other types of icons this is the format (without the square brackets): marker[TYPE][COLOR][INDICATOR].png | ||
+ | |||
+ | |||
+ | Here is a table of the current available icons: | ||
+ | |||
+ | {|style="text-align:center;width:97%;" border="1" | ||
+ | ! Type !! Type Code !! Color !! Indicator !! Examples !! Code | ||
+ | |- | ||
+ | | default (teardrop) || || | ||
+ | {|style="text-align:center;" align="center" | ||
+ | ! Color !! Color Code | ||
+ | |- | ||
+ | | Red || Rd | ||
+ | |- | ||
+ | | Orange || Or | ||
+ | |- | ||
+ | | Yellow || Ye | ||
+ | |- | ||
+ | | Green || Gr | ||
+ | |- | ||
+ | | Light Blue || Lb | ||
+ | |- | ||
+ | | Blue || Bl | ||
+ | |- | ||
+ | | Purple || Pu | ||
+ | |- | ||
+ | | Violet || Vi | ||
+ | |- | ||
+ | | Pink || Pk | ||
+ | |- | ||
+ | | White || Wh | ||
+ | |- | ||
+ | | default || | ||
+ | |} | ||
+ | || A-Z, 0-9, <br>square, diamond, triangle, circle, star, fish, pollution || [{{fullurl:MediaWiki}} http://www.divineu.com/markers/marker.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerRdS.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerBlpollution.png] | ||
+ | || (the first is left blank for default) <br>RdS <br>Blpollution | ||
+ | |||
+ | |||
+ | |- | ||
+ | | Circle || Cir || | ||
+ | {|style="text-align:center;" align="center" | ||
+ | ! Color !! Color Code | ||
+ | |- | ||
+ | | Red || Rd | ||
+ | |- | ||
+ | | Orange || Or | ||
+ | |- | ||
+ | | Yellow || Ye | ||
+ | |- | ||
+ | | Green || Gr | ||
+ | |- | ||
+ | | Light Blue || Lb | ||
+ | |- | ||
+ | | Blue || Bl | ||
+ | |- | ||
+ | | Purple || Pu | ||
+ | |- | ||
+ | | Violet || Vi | ||
+ | |- | ||
+ | | Pink || Pk | ||
+ | |- | ||
+ | | White || Wh | ||
+ | |- | ||
+ | | default || | ||
+ | |} | ||
+ | || A-Z, 0-9, <br>square, diamond, triangle, circle, star, fish, pollution || [{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerCir.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerCirRdS.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerCirBlfish.png] | ||
+ | || Cir <br>CirRdS <br>CirBlfish | ||
+ | |||
+ | |||
+ | |- | ||
+ | | Pin || Pin || | ||
+ | {|style="text-align:center;" align="center" | ||
+ | ! Color !! Color Code | ||
+ | |- | ||
+ | | Red || Rd | ||
+ | |- | ||
+ | | Orange || Or | ||
+ | |- | ||
+ | | Yellow || Ye | ||
+ | |- | ||
+ | | Green || Gr | ||
+ | |- | ||
+ | | Light Blue || Lb | ||
+ | |- | ||
+ | | Blue || Bl | ||
+ | |- | ||
+ | | Purple || Pu | ||
+ | |- | ||
+ | | Violet || Vi | ||
+ | |- | ||
+ | | Pink || Pk | ||
+ | |- | ||
+ | | White || Wh | ||
+ | |- | ||
+ | | default || | ||
+ | |} | ||
+ | || A-Z, 0-9, <br>square, diamond, triangle, circle, star, fish, pollution | ||
+ | |style="background-color:#cccccc;"| [{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerPin.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerPinRdS.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerPinBlfish.png] | ||
+ | || Pin <br>PinRdS <br>PinBlfish | ||
+ | |||
+ | |||
+ | |- | ||
+ | | Ball || Ball || | ||
+ | {|style="text-align:center;" align="center" | ||
+ | ! Color !! Color Code | ||
+ | |- | ||
+ | | Red || Rd | ||
+ | |- | ||
+ | | Orange || Or | ||
+ | |- | ||
+ | | Yellow || Ye | ||
+ | |- | ||
+ | | Green || Gr | ||
+ | |- | ||
+ | | Light Blue || Lb | ||
+ | |- | ||
+ | | Blue || Bl | ||
+ | |- | ||
+ | | Purple || Pu | ||
+ | |- | ||
+ | | Violet || Vi | ||
+ | |- | ||
+ | | Pink || Pk | ||
+ | |- | ||
+ | | White || Wh | ||
+ | |- | ||
+ | | default || | ||
+ | |} | ||
+ | || ''colors only'' | ||
+ | || [{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerBall.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerBallRd.png]<br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerBallBl.png] | ||
+ | || Ball <br>BallRd <br>BallBl | ||
+ | |||
+ | |||
+ | |- | ||
+ | | Dot || Dot || | ||
+ | {|style="text-align:center;" align="center" | ||
+ | ! Color !! Color Code | ||
+ | |- | ||
+ | | Red || Rd | ||
+ | |- | ||
+ | | Orange || Or | ||
+ | |- | ||
+ | | Yellow || Ye | ||
+ | |- | ||
+ | | Green || Gr | ||
+ | |- | ||
+ | | Light Blue || Lb | ||
+ | |- | ||
+ | | Blue || Bl | ||
+ | |- | ||
+ | | Purple || Pu | ||
+ | |- | ||
+ | | Violet || Vi | ||
+ | |- | ||
+ | | Pink || Pk | ||
+ | |- | ||
+ | | White || Wh | ||
+ | |- | ||
+ | | default || | ||
+ | |} | ||
+ | || ''colors only'' | ||
+ | || [{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerDot.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerDotRd.png]<br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerDotBl.png] | ||
+ | || Dot <br>DotRd <br>DotBl | ||
+ | |||
+ | |||
+ | |- | ||
+ | | Dot Pin || DP || | ||
+ | {|style="text-align:center;" align="center" | ||
+ | ! Color !! Color Code | ||
+ | |- | ||
+ | | Red || Rd | ||
+ | |- | ||
+ | | Orange || Or | ||
+ | |- | ||
+ | | Yellow || Ye | ||
+ | |- | ||
+ | | Green || Gr | ||
+ | |- | ||
+ | | Light Blue || Lb | ||
+ | |- | ||
+ | | Blue || Bl | ||
+ | |- | ||
+ | | Purple || Pu | ||
+ | |- | ||
+ | | Violet || Vi | ||
+ | |- | ||
+ | | Pink || Pk | ||
+ | |- | ||
+ | | White || Wh | ||
+ | |- | ||
+ | | default || | ||
+ | |} | ||
+ | || ''colors only'' | ||
+ | |style="background-color:#cccccc;"| [{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerDP.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerDPRd.png]<br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerDPBl.png] | ||
+ | || DP <br>DPRd <br>DPBl | ||
+ | |||
+ | |||
+ | |- | ||
+ | | Guild Hall / House || GH || | ||
+ | {|style="text-align:center;" align="center" | ||
+ | ! Color !! Color Code | ||
+ | |- | ||
+ | | Red || Rd | ||
+ | |- | ||
+ | | Orange || Or | ||
+ | |- | ||
+ | | Yellow || Ye | ||
+ | |- | ||
+ | | Green || Gr | ||
+ | |- | ||
+ | | Light Blue || Lb | ||
+ | |- | ||
+ | | Blue || Bl | ||
+ | |- | ||
+ | | Purple || Pu | ||
+ | |- | ||
+ | | Violet || Vi | ||
+ | |- | ||
+ | | Pink || Pk | ||
+ | |- | ||
+ | | White || Wh | ||
+ | |- | ||
+ | | default || | ||
+ | |} | ||
+ | || ''colors only'' | ||
+ | || [{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerGH.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerGHRd.png]<br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerGHBl.png] | ||
+ | || GH <br>GHRd <br>GHBl | ||
+ | |||
+ | |||
+ | |- | ||
+ | | Push Pin || PP || | ||
+ | {|style="text-align:center;" align="center" | ||
+ | ! Color !! Color Code | ||
+ | |- | ||
+ | | Red || Rd | ||
+ | |- | ||
+ | | Orange || Or | ||
+ | |- | ||
+ | | Yellow || Ye | ||
+ | |- | ||
+ | | Green || Gr | ||
+ | |- | ||
+ | | Light Blue || Lb | ||
+ | |- | ||
+ | | Blue || Bl | ||
+ | |- | ||
+ | | Purple || Pu | ||
+ | |- | ||
+ | | Violet || Vi | ||
+ | |- | ||
+ | | Pink || Pk | ||
+ | |- | ||
+ | | White || Wh | ||
+ | |- | ||
+ | | default || | ||
+ | |} | ||
+ | || ''colors only'' | ||
+ | || [{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerPP.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerPPRd.png]<br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerPPBl.png] | ||
+ | || PP <br>PPRd <br>PPBl | ||
+ | |||
+ | |||
+ | |- | ||
+ | | Unique Markers || || | ||
+ | {|style="text-align:center;" align="center" | ||
+ | ! Color !! Color Code | ||
+ | |- | ||
+ | | default || | ||
+ | |} | ||
+ | || ''default image only'' | ||
+ | || [{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerbee.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerbeetle.png]<br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markercamel.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markercobra.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerdrink.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerfire.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerfish.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerflower.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markergrape.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerplus.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markerpyramid.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markersheep.png] <br>[{{fullurl:MediaWiki}} http://www.divineu.com/markers/markertick.png] | ||
+ | || bee <br>beetle <br>camel <br>cobra <br>drink <br>fire <br>fish <br>flower <br>grape <br>plus <br>pyramid <br>sheep <br>tick | ||
+ | |||
+ | || | ||
+ | |} | ||
+ | |||
+ | |||
+ | |||
+ | == Simplified Use of Sets == | ||
+ | |||
+ | If you'd like to use just one set of markers you'll need to add the following code to your '''<nowiki><googlemap></nowiki>''' begin tag: | ||
+ | |||
+ | ''<nowiki> | ||
+ | icon="http://www.divineu.com/markers/marker.png" | ||
+ | icons="http://www.divineu.com/markers/marker{label}.png" | ||
+ | iconsize="32x32" | ||
+ | iconanchor'"9x32" | ||
+ | iconlabels=" ''the list of identifiers goes here: ie. A,B,G,T,fish,bee," | ||
+ | </nowiki>'' | ||
+ | |||
+ | It actually goes in the tag, so it will look something like this: '''<nowiki><googlemap icon="ETC, ETC"></nowiki>''' | ||
+ | You can also remove any of the iconlabels that you are not using. | ||
+ | |||
+ | |||
+ | == EXAMPLES == | ||
+ | |||
+ | {|style="text-align:center;width:97%;" border="1" | ||
+ | ! Set !! Googlemap Code !! Example Map Line | ||
+ | |- | ||
+ | |style="text-align:left;width:150px!important;"| Default All | ||
+ | |style="text-align:left;"| | ||
+ | <nowiki><googlemap icon="http://www.divineu.com/markers/marker.png" icons="http://www.divineu.com/markers/marker{label}.png" iconsize="32x32" iconanchor'"9x32" iconlabels="A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,8,9,</nowiki><br> | ||
+ | <nowiki>Ball,Cir,Dot,DP,Pin,PP,bee,beetle,camel,cobra,drink,fire,fish,flower,GH,grape,plus,pyramid,sheep,tick"</nowiki><br> | ||
+ | |style="text-align:left;width:310px!important;| (GH)2265, 2900, Guildhall <br> (bee)2200, 2900, Apiaries <br> (S)2115, 2900, Sand Mine <br> | ||
+ | |||
+ | <googlemap lat="2235" lon="2966" zoom="6" width="300" height="300" controls="small" type="game" scrollwheel="nothing" | ||
+ | icon="http://www.divineu.com/markers/marker.png" | ||
+ | icons="http://www.divineu.com/markers/marker{label}.png" | ||
+ | iconsize="32x32" | ||
+ | iconanchor'"9x32" | ||
+ | iconlabels="A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,8,9,Ball,Cir,Dot,DP,Pin,PP,bee,beetle,camel,cobra,drink,fire,fish,flower,GH,grape,plus,pyramid,sheep,tick" | ||
+ | |||
+ | > | ||
+ | (GH)2265, 2900, Guildhall | ||
+ | (bee)2200, 2900, Apiaries | ||
+ | (S)2115, 2900, Sand Mine | ||
+ | </googlemap> | ||
+ | |||
+ | |||
+ | |- | ||
+ | |style="text-align:left;width:150px!important;"| Default Blue | ||
+ | |style="text-align:left;"| | ||
+ | <nowiki><googlemap icon="http://www.divineu.com/markers/markerBl.png" icons="http://www.divineu.com/markers/markerBl{label}.png" iconsize="32x32" iconanchor'"9x32" iconlabels="A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,8,9</nowiki><br> | ||
+ | |style="text-align:left;width:310px!important;| (G)2265, 2900, Guildhall<br> (A)2155, 2900, Apiaries <br>(S)2115, 2900, Sand Mine<br> | ||
+ | |||
+ | <googlemap lat="2235" lon="2966" zoom="6" width="300" height="300" controls="small" type="game" scrollwheel="nothing" | ||
+ | icon="http://www.divineu.com/markers/markerBl.png" | ||
+ | icons="http://www.divineu.com/markers/markerBl{label}.png" | ||
+ | iconsize="32x32" | ||
+ | iconanchor'"9x32" | ||
+ | iconlabels="A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,8,9" | ||
+ | |||
+ | > | ||
+ | (G)2265, 2900, Guildhall | ||
+ | (A)2200, 2900, Apiaries | ||
+ | (S)2115, 2900, Sand Mine | ||
+ | </googlemap> | ||
+ | |||
+ | |||
+ | |- | ||
+ | |style="text-align:left;width:150px!important;"| Pin Pink | ||
+ | |style="text-align:left;"| | ||
+ | <nowiki><googlemap icon="http://www.divineu.com/markers/markerPinPk.png" icons="http://www.divineu.com/markers/markerPinPk{label}.png" iconsize="32x32" iconanchor'"9x32" iconlabels="A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,8,9</nowiki><br> | ||
+ | |style="text-align:left;width:310px!important;| 2200, 2940, Rock Saw <br>(G)2265, 2900, Guildhall<br> (A)2155, 2900, Apiaries <br>(S)2115, 2900, Sand Mine<br> | ||
+ | |||
+ | <googlemap lat="2235" lon="2966" zoom="6" width="300" height="300" controls="small" type="game" scrollwheel="nothing" | ||
+ | icon="http://www.divineu.com/markers/markerPinPk.png" | ||
+ | icons="http://www.divineu.com/markers/markerPinPk{label}.png" | ||
+ | iconsize="32x32" | ||
+ | iconanchor'"9x32" | ||
+ | iconlabels="A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,8,9" | ||
+ | |||
+ | > | ||
+ | 2200, 2940, Rock Saw | ||
+ | (G)2265, 2900, Guildhall | ||
+ | (A)2200, 2900, Apiaries | ||
+ | (S)2115, 2900, Sand Mine | ||
+ | </googlemap> | ||
+ | |||
+ | |} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Revision as of 00:04, 2 January 2009
USING ALTERNATE ICONS IN MAPS
Explanation
When you create a map it inserts code into your page using the <googlemap> begin tag and the </googlemap> end tag. By default the maps use those teardrop shaped icons. To use different icons, you have to add a few parameters to the <googlemap> begin tag or use full labels for each individual marker.
Figuring out the parameter for the icon you want
There are a few different types of icons with a few different colors. The icons do have a naming convention. They all start with the name marker.png To use other types of icons this is the format (without the square brackets): marker[TYPE][COLOR][INDICATOR].png
Here is a table of the current available icons:
Simplified Use of Sets
If you'd like to use just one set of markers you'll need to add the following code to your <googlemap> begin tag:
icon="http://www.divineu.com/markers/marker.png" icons="http://www.divineu.com/markers/marker{label}.png" iconsize="32x32" iconanchor'"9x32" iconlabels=" ''the list of identifiers goes here: ie. A,B,G,T,fish,bee,"
It actually goes in the tag, so it will look something like this: <googlemap icon="ETC, ETC"> You can also remove any of the iconlabels that you are not using.
EXAMPLES
Set | Googlemap Code | Example Map Line |
---|---|---|
Default All |
<googlemap icon="http://www.divineu.com/markers/marker.png" icons="http://www.divineu.com/markers/marker{label}.png" iconsize="32x32" iconanchor'"9x32" iconlabels="A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,8,9, |
(GH)2265, 2900, Guildhall (bee)2200, 2900, Apiaries (S)2115, 2900, Sand Mine
|
Default Blue |
<googlemap icon="http://www.divineu.com/markers/markerBl.png" icons="http://www.divineu.com/markers/markerBl{label}.png" iconsize="32x32" iconanchor'"9x32" iconlabels="A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,8,9 |
(G)2265, 2900, Guildhall (A)2155, 2900, Apiaries (S)2115, 2900, Sand Mine
|
Pin Pink |
<googlemap icon="http://www.divineu.com/markers/markerPinPk.png" icons="http://www.divineu.com/markers/markerPinPk{label}.png" iconsize="32x32" iconanchor'"9x32" iconlabels="A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,8,9 |
2200, 2940, Rock Saw (G)2265, 2900, Guildhall (A)2155, 2900, Apiaries (S)2115, 2900, Sand Mine
|
Maps and Icons
Instuctions
To use the colored pins instead of the default teardrop shaped pins, when you create your map:
Replace the icon and icons parameters in your starting <googlemap> tag with:
icon="http://www.divineu.com/icons/pin.png" icons="http://www.divineu.com/icons/pin{label}.png" iconsize="32x32" iconanchor'"9x32" shadow="http://www.divineu.com/icons/pinshadow.png" shadowsize="59x32" iconlabels="blue,GH,green,orange,purple,red,white,yellow"
You can view the Edit source tab at the top of the page to see how I did it.
You will replace the lat and lon values with the coordinates that you want to be the center of your map.
The available pins are:
- red
- orange
- yellow
- green
- blue
- purple
- white
- GH (a guild hall or home)
To use the pins to mark a location you would do something like the following between your <googlemap> tag and </googlemap> tag:
(red)2115, 2900, Red Pin
(orange)2135, 2900, Orange Pin
(yellow)2155, 2900, Yellow Pin
(green)2175, 2900, Green Pin
(blue)2195, 2900, Blue Pin
(purple)2215, 2900, Purple Pin
(white)2235, 2900, White Pin
(GH)2265, 2900
/Info\
A guild hall or home pin.
/More\
You can place more information on tabs.
The /Info\ and /More\ create the tabs in the info box when you click on a pin.
You can't currently use letters with the pin markers, but you will be able to after I have time to create them. Then you could use something like blueG and it would show the blue pin with a G on it. I will update this when I've made the letters.