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"

From A Tale in the Desert
Jump to navigationJump to search
Line 372: Line 372:
 
|-
 
|-
 
|| Entire List  
 
|| Entire List  
||  
+
|| [[User:Mayanah/map/markers|Entire List ]]
 
||
 
||
 
|}
 
|}

Revision as of 02:01, 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:

Type Type Code Color Indicator Examples Code
default (teardrop)
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,
square, diamond, triangle, circle, star, fish, pollution
marker.png
markerRdS.png
markerBlpollution.png
(the first is left blank for default)
RdS
Blpollution


Circle Cir
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,
square, diamond, triangle, circle, star, fish, pollution
markerCir.png
markerCirRdS.png
markerCirBlfish.png
Cir
CirRdS
CirBlfish


Pin Pin
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,
square, diamond, triangle, circle, star, fish, pollution
markerPin.png
markerPinRdS.png
markerPinBlfish.png
Pin
PinRdS
PinBlfish


Ball Ball
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 markerBall.png
markerBallRd.png
markerBallBl.png
Ball
BallRd
BallBl


Dot Dot
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 markerDot.png
markerDotRd.png
markerDotBl.png
Dot
DotRd
DotBl


Dot Pin DP
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 markerDP.png
markerDPRd.png
markerDPBl.png
DP
DPRd
DPBl


Guild Hall / House GH
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 markerGH.png
markerGHRd.png
markerGHBl.png
GH
GHRd
GHBl


Push Pin PP
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 markerPP.png
markerPPRd.png
markerPPBl.png
PP
PPRd
PPBl


Unique Markers
Color Color Code
default
default image only markerbee.png
markerbeetle.png
markercamel.png
markercobra.png
markerdrink.png
markerfire.png
markerfish.png
markerflower.png
markergrape.png
markerplus.png
markerpyramid.png
markersheep.png
markertick.png
bee
beetle
camel
cobra
drink
fire
fish
flower
grape
plus
pyramid
sheep
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 <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,
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



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



Entire List Entire List