3

Hi,

I am using my own tiles. How to increase font size of placenames being displayed on map?

How to add scale?

asked 16 Oct '11, 08:16

Reshma%20Maner's gravatar image

Reshma Maner
235303136
accept rate: 0%

It would help if you could add a link to the instructions that you followed to create those tiles - that people will know what tools to give advice about.

(16 Oct '11, 11:02) SomeoneElse ♦

http://weait.com/content/build-your-own-openstreetmap-server

I have used followed insructions given on this link. I am using mapnik to generate tiles.

(16 Oct '11, 11:04) Reshma Maner

2 Answers:
4

The font size comes from the style file osm.xml. This includes several lines on the form "<textsymbolizer name="name" fontset_name="bold-fonts" size="11"/>". You can edit the size parameter in the wanted areas to generate a new style with other font sizes.

permanent link

answered 16 Oct '11, 13:19

Gnonthgol's gravatar image

Gnonthgol ♦
13.6k15101198
accept rate: 16%

4

For the scale, if you are using OpenLayers, you have to add the ScaleLine control

permanent link

answered 17 Oct '11, 08:41

NicolasDumoulin's gravatar image

NicolasDumoulin
3.3k42256
accept rate: 13%

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×156
×27
×17
×13

question asked: 16 Oct '11, 08:16

question was seen: 8,968 times

last updated: 17 Oct '11, 08:41

powered by OSQA