White text on black and white map

  • Question
  • Updated 7 years ago
On the Trulia site I like the white text on the black and white map. By default modest maps outputs black text. Does anybody know how the generate this white text?
Photo of

  • 10 Posts
  • 0 Reply Likes

Posted 7 years ago

  • 1
Photo of RandomEtc

RandomEtc, Tween Branch Maintainer

  • 522 Posts
  • 47 Reply Likes
The map in that image is using Microsoft Virtual Earth's hybrid tiles, not manipulated at all. (Compare with the aerials at http://maps.live.com/ with labels turned on).

Hindsight does use a ColorMatrixFilter on map.grid to change the brightness, but that doesn't affect the text.

In Snapshot (our other project for Trulia) we used a ColorMatrixFilter to desaturate the map, and a ColorTransform to invert it.
Photo of

  • 10 Posts
  • 0 Reply Likes
many thanks