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 45: Line 45:
  
 
The available pins are:
 
The available pins are:
red
+
*red
orange
+
*orange
yellow
+
*yellow
green
+
*green
blue
+
*blue
purple
+
*purple
white
+
*white
GH  (a guild hall or home)
+
*GH  (a guild hall or home)
  
 
To use the pins to mark a location you would do something like the following between your <nowiki><googlemap></nowiki> tag and <nowiki></googlemap></nowiki> tag:
 
To use the pins to mark a location you would do something like the following between your <nowiki><googlemap></nowiki> tag and <nowiki></googlemap></nowiki> tag:
  
''<nowiki>(red)2115, 2900, Red Pin
+
''<nowiki>(red)2115, 2900, Red Pin</nowiki> '' <br>
(orange)2135, 2900, Orange Pin
+
''<nowiki>(orange)2135, 2900, Orange Pin</nowiki> '' <br>
(yellow)2155, 2900, Yellow Pin
+
''<nowiki>(yellow)2155, 2900, Yellow Pin</nowiki> '' <br>
(green)2175, 2900, Green Pin
+
''<nowiki>(green)2175, 2900, Green Pin</nowiki> '' <br>
(blue)2195, 2900, Blue Pin
+
''<nowiki>(blue)2195, 2900, Blue Pin</nowiki> '' <br>
(purple)2215, 2900, Purple Pin
+
''<nowiki>(purple)2215, 2900, Purple Pin</nowiki> '' <br>
(white)2235, 2900, White Pin
+
''<nowiki>(white)2235, 2900, White Pin</nowiki> '' <br>
(GH)2265, 2900
+
''<nowiki>(GH)2265, 2900</nowiki> '' <br>
/Info\
+
''<nowiki>/Info\</nowiki> '' <br>
A guild hall or home pin.
+
''<nowiki>A guild hall or home pin.</nowiki> '' <br>
/More\
+
''<nowiki>/More\</nowiki> '' <br>
You can place more information on tabs.</nowiki>''
+
''<nowiki>You can place more information on tabs.</nowiki>'' <br>
  
  

Revision as of 20:48, 29 December 2008

Testing 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.