none
How to apply a CSS filter to all the AJAX Map Control tiles? RRS feed

  • Question

  • Using the code below, it's easy to apply a CSS filter (in this case an Invert filter) to a static map so to create a night/highcontrast view.

    What would be the best way to apply this filter when using the AJAX Map Control? (assuming the user is using a browser that supports CSS filters)

     

    <html>
    <body>
    <img src="http://dev.virtualearth.net/REST/V1/Imagery/Map/Road/space%20needle%20seattle?mapLayer=TrafficFlow&key=yourbingmapkey" style="Filter: invert" />
    </body>
    </html>
    


     


    • Edited by samm21 Tuesday, November 15, 2011 9:33 PM
    • Moved by Ricky_Brundritt Saturday, March 10, 2012 12:09 PM (From:Bing Maps: Map Control and Web services Development)
    Tuesday, November 15, 2011 9:33 PM

Answers

All replies