Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#17548 closed defect (worksforme)

font-size not working at node image

Reported by: Allroads Owned by: Allroads
Priority: normal Milestone:
Component: Core mappaint Version: tested
Keywords: mapcss Cc:

Description (last modified by Don-vip)


text: "maxheight";
text-color: #ff0000;
text-halo-color: #262626;
text-halo-opacity: 0.8 ;
text-halo-radius: 1.5;
text-anchor-horizontal: center;
text-anchor-vertical: below;
/* NO MAXHEIGHT height_restrictor, */
node|z18-["barrier"="height_restrictor"][!maxheight]{
text: tr("?");
font-size: 25;  
text-color: #ffff00;

I can not make the text-size bigger.

This is on JOSM zoom level 25.

Thanks, for looking into it.

Attachments (1)

fontsize.JPG (66.6 KB ) - added by Allroads 7 years ago.

Download all attachments as: .zip

Change History (10)

by Allroads, 7 years ago

Attachment: fontsize.JPG added

comment:1 by Allroads, 7 years ago

Description: modified (diff)

comment:2 by Klumbumbus, 7 years ago

Owner: changed from team to Allroads
Status: newneedinfo

Works for me with the code snippets.

Attach your complete style and a sample osm file if further investigation is required. Also check other active styles and the order of your styles in your list of styles. An active style lower in the list will override a style higher in the list.

comment:3 by Allroads, 7 years ago

Then I have to investigate further.
The style I have only on my PC, with this section in it as development style.

Thanks.

comment:4 by Klumbumbus, 7 years ago

You may also check the java console. When you save your local file and josm reloads it automatically it prints e.g. 2019-04-01 22:37:23.789 INFORMATION: Source new icons3 has been modified. Reloading it... in the console. If there are systanx errors in your style you will get a error message there.

comment:5 by Don-vip, 7 years ago

Description: modified (diff)

comment:6 by Don-vip, 7 years ago

Keywords: mapcss added; mappaint removed

comment:7 by Allroads, 7 years ago

I am working on the ROAD EXTENDED style
To see hints, what is tagged on the road way line.
[
http://mijndev.openstreetmap.nl/~allroads/JOSM/Styles/Road_Extended_JOSM_style.zip link zipfile]
still under construction

and legend on JOSM zoomlevel 25-26

There are other very nice styles, mostly full screen present, but I wanted hints, be careful to move a node, because we do not read the tag membership first, that well on the left and right of that node.

I put in extended parts in the elementstyle (default) JOSM.(Deleted, modified some)

comment:8 by Klumbumbus, 7 years ago

Resolution: worksforme
Status: needinfoclosed

comment:9 by Allroads, 7 years ago

Still working on it, alternative I used a text layer. Then it worked. But did not find the clue yet, without it.
Good your closed it!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Allroads.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.