none
Passing additional information to custom tile server RRS feed

  • Question

  • I've done a custom tile server to put an overlay on my application. This is working fine. However, now I need to add additional "filters" to my tileserver so that the correct overlay is rendered. right now my uriformat no my LocationRectTileSource is set to: http://localhost:64385/Tile.svc/{quadkey} but I'd like to pass additional information such as startdate and enddate, and maybe also complex types. 

    What's the best way going around this?

    Thanks

    • Moved by Ricky_Brundritt Saturday, March 10, 2012 1:32 PM (From:Bing Maps: Map Control and Web services Development)
    Wednesday, February 15, 2012 1:12 PM

Answers

All replies

  • Set the uriformat of your tilesource to be:

    http://localhost:64385/Tile.svc/{quadkey}?param1=x&param1=y

    ?


    twitter: @alastaira blog: http://alastaira.wordpress.com/

    Wednesday, February 15, 2012 2:46 PM
    Moderator
  • Set the uriformat of your tilesource to be:

    http://localhost:64385/Tile.svc/{quadkey}?param1=x&param1=y

    ?


    twitter: @alastaira blog: http://alastaira.wordpress.com/

    Works great, thanks.

    Since UriFormat on tilesource isn't a dependency prop i can't bind to it. Know of any clever way to circumvent this - perhaps someone already made a custom tile source implementing this behavior? Thanks again.

    Wednesday, February 15, 2012 4:36 PM