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 28: Line 28:
 
To use the colored pins instead of the default teardrop shaped pins, when you create your map:
 
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 <nowiki><googlemap></nowiki> tag with:  
+
Replace the icon and icons parameters in your starting '''<nowiki><googlemap></nowiki>''' tag with:  
  
 
''<nowiki>
 
''<nowiki>
Line 44: Line 44:
 
You will replace the lat and lon values with the coordinates that you want to be the center of your map.
 
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:
+
'''The available pins are:'''
 
*red
 
*red
 
*orange
 
*orange
Line 54: Line 54:
 
*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> '' <br>
 
''<nowiki>(red)2115, 2900, Red Pin</nowiki> '' <br>
Line 70: Line 70:
  
  
The /Info\ and /More\ create the tabs in the info box when you click on a pin.  
+
'''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.
 
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.

Revision as of 20:50, 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.