Maps4HTML / MapML-Specification

Map Markup Language is hypertext for Web maps, like HTML is hypertext for Web pages https://maps4html.org/MapML-Specification/spec/
Other
55 stars 12 forks source link

Requirement: allow MapML author to specify tile opacity with CSS #4

Open prushforth opened 9 years ago

prushforth commented 9 years ago

This would avoid having to mess around with creating many separate MapML services where a single one which combined related layers would do. For example, hill shading/relief could be overlayed by transportation network, which is itself overlayed by a text layer. Each could have an appropriate opacity assigned by CSS rules.

prushforth commented 9 years ago

A major negative of not supporting this feature is that it pushes complexity on to the HTML author AND the end user, which is worse still. So it's pretty much a must-have.

prushforth commented 9 years ago

The z-order is of course already under the control of the MapML author, by virtue of the order in which the tile elements are placed in the document. So the requirement goes down to tile opacity, which should be specifiable via CSS rules.