Modify

Opened 4 days ago

Last modified 3 days ago

#24764 new defect

Area mapcss, datalayer, gives white background when not selected in Layers

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

Description (last modified by Allroads)

When I do not select the Data Layer 1, but other backgrounds in Layers (green icon). I get all area as white in this Data Layer 1. ( or grey if the mouseposition is not on the map)

I only have area| in the style to visualise, I was trying to visualise area landuse landcover etc. with only svg images.

This code gives the problem. ( this is a small part of the code.)

/****************************/
/* NATURAL                 */
/****************************/
/* text */
area|z27-[natural]::area_natural_base_text_layer {
	z-index: -9;
	fill-opacity:1;
	fill-image: natural_1024_text.svg;
}
/****************************/
/* Natural GRASSLAND */
/****************************/
area|z17[natural=grassland]::area_natural_layer {
	z-index: -7;
	fill-opacity:1;
	fill-image: natural_grassland_32.svg;
}

Then I set fill-opacity:1; to 0, this solved the problem. Now the white is not visible.

	fill-opacity:0;

But when I delete fill-opacity: lines totaly the problem is back.

So I must set fill-opacity:0; but then I do not see the area image svg.

Uploaden data, and green icon is set, on the Data Layer 1, layer active.
When not set to set fill-opacity:0; to 1 or line deleted, the uploading proces gives also these grey background change.

Here is the online file and info about the area visualisation.
link info

Is this correct or a problem? For me a problem not seeing the images.


With |27- I visualise a svg image legend layer. (text)

Attachments (1)

areajosmgrey.png (176.1 KB ) - added by Allroads 4 days ago.

Download all attachments as: .zip

Change History (3)

by Allroads, 4 days ago

Attachment: areajosmgrey.png added

comment:1 by Allroads, 4 days ago

Description: modified (diff)

changed url

comment:2 by Allroads, 3 days ago

Description: modified (diff)

changed original post, because not seeing image.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to Allroads.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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